Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 98.03 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003623, allocations: 13.19 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3387, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002584/0.3413, allocations: 1.884 MB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.3433, allocations: 1.319 MB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3435, allocations: 4 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.3441, allocations: 191.7 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.3443, allocations: 107.6 kB / 1.078 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.3447, allocations: 131.7 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.345, allocations: 215.2 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3452, allocations: 52.58 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3453, allocations: 75.53 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.3455, allocations: 95.48 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.3455, allocations: 7.938 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3457, allocations: 51.97 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3458, allocations: 83.67 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3459, allocations: 156.6 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.3463, allocations: 330.6 kB / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3463, allocations: 3.984 kB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3463, allocations: 0 / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3463, allocations: 0 / 1.079 GB, free: 2.82 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009351/0.3473, allocations: 0.6261 MB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.3473, allocations: 15.97 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.908e-05/0.3474, allocations: 44.38 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.3479, allocations: 352.2 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3479, allocations: 4.375 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3479, allocations: 11.94 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3481, allocations: 73.66 kB / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3481, allocations: 0 / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3481, allocations: 3.984 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3482, allocations: 4 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3483, allocations: 35.98 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.349, allocations: 464.5 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.3491, allocations: 70.67 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.908e-05/0.3492, allocations: 20.86 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3493, allocations: 0 / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.3494, allocations: 83.42 kB / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.3494, allocations: 3.938 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003505/0.3498, allocations: 141.2 kB / 1.081 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3499, allocations: 59.34 kB / 1.081 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005784/0.3504, allocations: 0.5293 MB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3505, allocations: 29.7 kB / 1.081 GB, free: 72 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.3507, allocations: 216 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3507, allocations: 19.75 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.3508, allocations: 25.7 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3509, allocations: 358.8 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.943e-05/0.351, allocations: 51.91 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3512, allocations: 79.8 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3513, allocations: 88.38 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3514, allocations: 0 / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003178/0.3517, allocations: 197 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3517, allocations: 4 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3517, allocations: 3.938 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3517, allocations: 8.062 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3519, allocations: 23.92 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.3519, allocations: 0 / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.352, allocations: 23.92 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.352, allocations: 4.25 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002199/0.3523, allocations: 178.4 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.3523, allocations: 43.44 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.276e-05/0.3524, allocations: 51.78 kB / 1.083 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3524, allocations: 7.938 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3524, allocations: 0 / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3524, allocations: 0 / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.3527, allocations: 301.5 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3527, allocations: 0 / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.3528, allocations: 4 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3528, allocations: 0 / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3528, allocations: 0 / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.3528, allocations: 11.92 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3528, allocations: 0 / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.353, allocations: 156.5 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.3531, allocations: 120.5 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.3532, allocations: 3.938 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.3533, allocations: 15.92 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3533, allocations: 11.98 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3533, allocations: 0 / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004174/0.3538, allocations: 370.8 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3538, allocations: 4 kB / 1.083 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000261/0.354, allocations: 36 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001/0.3551, allocations: 420.7 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.3553, allocations: 99.89 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3553, allocations: 0 / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.3554, allocations: 32 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3558, allocations: 47.05 kB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009849/0.3568, allocations: 0.7494 MB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.3572, allocations: 0.818 MB / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.5e-05/0.3573, allocations: 29.52 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.3573, allocations: 15.44 kB / 1.086 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3574, allocations: 3.938 kB / 1.086 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.006834/0.3642, allocations: 2.696 MB / 1.088 GB, free: 8.789 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)