Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 100 kB / 15.05 MB, free: 1.105 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.001337/0.001337, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.62/1.62, allocations: 251.9 MB / 0.51 GB, free: 4.809 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009245/0.0009247, allocations: 12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7292, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003823/0.7331, allocations: 2.072 MB / 0.73 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.7357, allocations: 1.207 MB / 0.7312 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.7361, allocations: 8 kB / 0.7312 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.7373, allocations: 294.9 kB / 0.7315 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005574/0.7378, allocations: 191.5 kB / 0.7316 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000687/0.7385, allocations: 191.8 kB / 0.7318 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005536/0.7391, allocations: 239.5 kB / 0.7321 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.7393, allocations: 52.89 kB / 0.7321 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.7396, allocations: 135.4 kB / 0.7322 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.7398, allocations: 139.4 kB / 0.7324 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.7399, allocations: 8 kB / 0.7324 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.74, allocations: 35.92 kB / 0.7324 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.7402, allocations: 111.6 kB / 0.7325 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.7403, allocations: 97.39 kB / 0.7326 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.7407, allocations: 353.2 kB / 0.733 GB, free: 6.336 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7407, allocations: 4 kB / 0.733 GB, free: 6.332 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7407, allocations: 0 / 0.733 GB, free: 6.332 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.7407, allocations: 0 / 0.733 GB, free: 6.332 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001164/0.7419, allocations: 0.7599 MB / 0.7337 GB, free: 5.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.742, allocations: 8.031 kB / 0.7337 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.7421, allocations: 63.2 kB / 0.7338 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.7426, allocations: 396 kB / 0.7341 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.7427, allocations: 8.188 kB / 0.7342 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.7427, allocations: 12 kB / 0.7342 GB, free: 5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.743, allocations: 147.6 kB / 0.7343 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.743, allocations: 0 / 0.7343 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.7431, allocations: 4 kB / 0.7343 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7431, allocations: 0 / 0.7343 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.7433, allocations: 76.47 kB / 0.7344 GB, free: 4.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/0.7442, allocations: 0.5744 MB / 0.7349 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.7445, allocations: 126.6 kB / 0.7351 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.7446, allocations: 7.984 kB / 0.7351 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.7448, allocations: 109.5 kB / 0.7352 GB, free: 3.887 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.7448, allocations: 0 / 0.7352 GB, free: 3.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005043/0.7453, allocations: 232.9 kB / 0.7354 GB, free: 3.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.7454, allocations: 81.11 kB / 0.7355 GB, free: 3.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000783/0.7462, allocations: 0.6719 MB / 0.7361 GB, free: 2.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.7462, allocations: 37.7 kB / 0.7362 GB, free: 2.828 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.7465, allocations: 260.3 kB / 0.7364 GB, free: 2.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.7465, allocations: 35.64 kB / 0.7364 GB, free: 2.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.7466, allocations: 0 / 0.7364 GB, free: 2.535 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.7467, allocations: 374.7 kB / 0.7368 GB, free: 2.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.7469, allocations: 67.97 kB / 0.7369 GB, free: 2.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.7471, allocations: 121.1 kB / 0.737 GB, free: 1.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.7473, allocations: 75.92 kB / 0.7371 GB, free: 1.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.7473, allocations: 3.953 kB / 0.7371 GB, free: 1.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004425/0.7477, allocations: 267.2 kB / 0.7373 GB, free: 1.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.7478, allocations: 8 kB / 0.7373 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7478, allocations: 64 / 0.7373 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.7478, allocations: 4 kB / 0.7373 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.748, allocations: 39.97 kB / 0.7374 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.748, allocations: 3.938 kB / 0.7374 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.7482, allocations: 27.89 kB / 0.7374 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.7482, allocations: 4 kB / 0.7374 GB, free: 1.527 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002417/0.7484, allocations: 215.5 kB / 0.7376 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.7485, allocations: 59.3 kB / 0.7377 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.7486, allocations: 61.05 kB / 0.7377 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7486, allocations: 0 / 0.7377 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7486, allocations: 0 / 0.7377 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7486, allocations: 0 / 0.7377 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.749, allocations: 369.3 kB / 0.7381 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.749, allocations: 224 / 0.7381 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.7491, allocations: 19.88 kB / 0.7381 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7491, allocations: 3.938 kB / 0.7381 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.7491, allocations: 8 kB / 0.7381 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7491, allocations: 4 kB / 0.7381 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7491, allocations: 0 / 0.7381 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.7495, allocations: 214.7 kB / 0.7383 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.7496, allocations: 132.3 kB / 0.7384 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.7497, allocations: 11.95 kB / 0.7384 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.7498, allocations: 11.98 kB / 0.7385 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.7499, allocations: 23.97 kB / 0.7385 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.7499, allocations: 4 kB / 0.7385 GB, free: 324 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005372/0.7504, allocations: 467 kB / 0.7389 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7505, allocations: 0 / 0.7389 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003088/0.7508, allocations: 59.92 kB / 0.739 GB, free: 15.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.7518, allocations: 418.5 kB / 0.7394 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.7522, allocations: 157.8 kB / 0.7395 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7522, allocations: 0 / 0.7395 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.7523, allocations: 59.91 kB / 0.7396 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.7528, allocations: 83.69 kB / 0.7397 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.7542, allocations: 0.9108 MB / 0.7406 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.7547, allocations: 0.873 MB / 0.7414 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.7548, allocations: 50.25 kB / 0.7415 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.7549, allocations: 31.42 kB / 0.7415 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.7549, allocations: 0 / 0.7415 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.008863/0.7638, allocations: 3.8 MB / 0.7452 GB, free: 9.578 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) Environment - environmentSimulation: