Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 70.47 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3717, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.005162/0.377, allocations: 3.098 MB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003155/0.3801, allocations: 1.782 MB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.3804, allocations: 15.94 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009875/0.3815, allocations: 298.8 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.3819, allocations: 190.8 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.3828, allocations: 406.5 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008086/0.3837, allocations: 0.8158 MB / 1.075 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006465/0.3843, allocations: 0.529 MB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.3846, allocations: 298.8 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.385, allocations: 318.4 kB / 1.076 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/0.3851, allocations: 64 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.3853, allocations: 112 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.3855, allocations: 215.3 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.3858, allocations: 353.8 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008493/0.3867, allocations: 0.8565 MB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3867, allocations: 0 / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3867, allocations: 0 / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.3867, allocations: 3.938 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001633/0.3883, allocations: 1.113 MB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3884, allocations: 8.031 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.3885, allocations: 91.91 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.3893, allocations: 0.5124 MB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/0.3894, allocations: 83.31 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.09e-05/0.3895, allocations: 64 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3905, allocations: 0.6716 MB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3905, allocations: 3.938 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.3906, allocations: 24 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.3906, allocations: 12 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007091/0.3913, allocations: 411.6 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.394, allocations: 2.709 MB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/0.3946, allocations: 360 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.3949, allocations: 174.7 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3949, allocations: 8 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.3954, allocations: 276.6 kB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 2.185e-06/0.3954, allocations: 0 / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.0009596/0.3964, allocations: 476.8 kB / 1.084 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.3965, allocations: 221.5 kB / 1.084 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.3972, allocations: 0.6403 MB / 1.085 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.3973, allocations: 57.69 kB / 1.085 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.3976, allocations: 373.1 kB / 1.085 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.3977, allocations: 110.6 kB / 1.085 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.3979, allocations: 158.5 kB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3981, allocations: 386.7 kB / 1.086 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.3984, allocations: 149.9 kB / 1.086 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.3989, allocations: 381 kB / 1.086 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.3996, allocations: 454.7 kB / 1.087 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3996, allocations: 0 / 1.087 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000936/0.4005, allocations: 0.5624 MB / 1.087 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4005, allocations: 4 kB / 1.087 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4006, allocations: 8.781 kB / 1.087 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.4006, allocations: 8 kB / 1.087 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.4008, allocations: 75.84 kB / 1.088 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.4009, allocations: 19.92 kB / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.4012, allocations: 59.42 kB / 1.088 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.4012, allocations: 32 kB / 1.088 GB, free: 5.773 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,transition3.t_start,$PRE.transition3.t_start,transition4.t_start,$PRE.transition4.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,$PRE.warUpCtr.pre.u,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.outPort.occupied,transition3.enableFire,transition2.enableFire,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,warUpCtr.pre.u,warUpCtr.hysPow.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysTem.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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.0003233/0.4015, allocations: 273.5 kB / 1.088 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.4016, allocations: 71.16 kB / 1.088 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/0.4024, allocations: 391.9 kB / 1.088 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4024, allocations: 8 kB / 1.088 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4024, allocations: 3.938 kB / 1.088 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.4024, allocations: 4.047 kB / 1.088 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.4038, allocations: 1.014 MB / 1.089 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4038, allocations: 0 / 1.089 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.404, allocations: 35.91 kB / 1.089 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.404, allocations: 4 kB / 1.089 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.404, allocations: 8 kB / 1.089 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.404, allocations: 11.92 kB / 1.089 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.404, allocations: 3.938 kB / 1.089 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.4048, allocations: 0.5025 MB / 1.09 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.4049, allocations: 144.1 kB / 1.09 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.405, allocations: 15.98 kB / 1.09 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.4052, allocations: 15.94 kB / 1.09 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.4053, allocations: 63.86 kB / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.4054, allocations: 19.94 kB / 1.09 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004475/0.4058, allocations: 419 kB / 1.091 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4058, allocations: 0 / 1.091 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005603/0.4064, allocations: 143.5 kB / 1.091 GB, free: 2.527 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 40 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,transition3.enableFire,transition3.outPort.occupied,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 13 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001062/0.4075, allocations: 466.5 kB / 1.091 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008938/0.4084, allocations: 443.5 kB / 1.092 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4084, allocations: 448 / 1.092 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.4087, allocations: 187.7 kB / 1.092 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.4093, allocations: 102.9 kB / 1.092 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.4111, allocations: 1.193 MB / 1.093 GB, free: 284 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.4117, allocations: 0.9458 MB / 1.094 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002622/0.412, allocations: 80.52 kB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.4121, allocations: 51.42 kB / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.4121, allocations: 0 / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.01204/0.4242, allocations: 5.829 MB / 1.1 GB, free: 9.402 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)