Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.35/2.35, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 198.7 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009711, allocations: 110.6 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 47.72 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2684, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002064/0.2705, allocations: 1.058 MB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.272, allocations: 1.367 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.2721, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2723, allocations: 11.88 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.188e-05/0.2724, allocations: 35.7 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006647/0.273, allocations: 258.3 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.2733, allocations: 339.2 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2735, allocations: 57.66 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.2736, allocations: 135.7 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.2738, allocations: 143.5 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.2739, allocations: 20 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.274, allocations: 27.98 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.274, allocations: 55.77 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.2741, allocations: 111.4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.2744, allocations: 364.9 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2744, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2744, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2744, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007851/0.2752, allocations: 0.6109 MB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2753, allocations: 15.98 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.2753, allocations: 32.59 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.2761, allocations: 370.8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2762, allocations: 16.38 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.2762, allocations: 20.38 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.2766, allocations: 203.8 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2767, allocations: 7.938 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2767, allocations: 8 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2767, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.2771, allocations: 143.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.278, allocations: 0.9031 MB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.2783, allocations: 149 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.2785, allocations: 84.23 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2785, allocations: 4 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.2789, allocations: 167.5 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.2789, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0007909/0.2797, allocations: 261.2 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.2797, allocations: 166.1 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2799, allocations: 213 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.2799, allocations: 37.97 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.28, allocations: 152.2 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.28, allocations: 31.55 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.2801, allocations: 53.69 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.2802, allocations: 338.8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.2805, allocations: 99.91 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.2808, allocations: 160.9 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.2813, allocations: 274.9 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2813, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007185/0.282, allocations: 372.7 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.2821, allocations: 63.39 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2821, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2821, allocations: 4 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.2823, allocations: 35.91 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.2823, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.2827, allocations: 79.78 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.2827, allocations: 8 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.2829, allocations: 159.3 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.2829, allocations: 19.81 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.2829, allocations: 17.25 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2829, allocations: 7.984 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2829, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.283, allocations: 8 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.2831, allocations: 261.3 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2831, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.2833, allocations: 23.97 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2833, allocations: 4 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2833, allocations: 7.984 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2833, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2833, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/0.2841, allocations: 0.8806 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.2842, allocations: 92.91 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.2842, allocations: 8 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2843, allocations: 23.97 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.2844, allocations: 15.92 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.2844, allocations: 8 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.029e-05/0.2845, allocations: 160.5 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2845, allocations: 0 / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003759/0.2849, allocations: 51.84 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.285, allocations: 112 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006442/0.2857, allocations: 338.5 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2857, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.286, allocations: 89.02 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.2863, allocations: 43.53 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.2869, allocations: 0.5785 MB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.2871, allocations: 0.752 MB / 1.23 GB, free: 103.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.2872, allocations: 37.5 kB / 1.23 GB, free: 103.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.2873, allocations: 19.44 kB / 1.23 GB, free: 103.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.2873, allocations: 0 / 1.23 GB, free: 103.9 MB / 0.823 GB Notification: Performance of Templates: time 0.004974/0.2923, allocations: 2.85 MB / 1.233 GB, free: 101.1 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)