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.0008902/0.0008944, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001265/0.001265, allocations: 168.7 kB / 15.95 MB, free: 204 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.593/1.593, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.687/1.687, allocations: 252 MB / 0.5102 GB, free: 4.824 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.0005613/0.0005613, allocations: 16 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6984, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003132/0.7016, allocations: 2.1 MB / 0.7302 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.7035, allocations: 1.254 MB / 0.7314 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.7037, allocations: 0 / 0.7314 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007583/0.7045, allocations: 290.7 kB / 0.7317 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.7048, allocations: 191.3 kB / 0.7319 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.7053, allocations: 189.5 kB / 0.732 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.7057, allocations: 334.8 kB / 0.7324 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.7058, allocations: 60.89 kB / 0.7324 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.706, allocations: 139.3 kB / 0.7326 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.7062, allocations: 135.3 kB / 0.7327 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.7063, allocations: 4 kB / 0.7327 GB, free: 6.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.7064, allocations: 47.95 kB / 0.7327 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.7065, allocations: 107.6 kB / 0.7328 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.7066, allocations: 97.39 kB / 0.7329 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.707, allocations: 361.2 kB / 0.7333 GB, free: 6.145 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.707, allocations: 0 / 0.7333 GB, free: 6.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.707, allocations: 3.938 kB / 0.7333 GB, free: 6.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.707, allocations: 4 kB / 0.7333 GB, free: 6.137 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.001023/0.708, allocations: 0.7516 MB / 0.734 GB, free: 5.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.7081, allocations: 8.031 kB / 0.734 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.516e-05/0.7082, allocations: 63.2 kB / 0.7341 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.7086, allocations: 407.9 kB / 0.7345 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.7087, allocations: 12.19 kB / 0.7345 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.7087, allocations: 8 kB / 0.7345 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.709, allocations: 143.6 kB / 0.7346 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.709, allocations: 3.984 kB / 0.7346 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.709, allocations: 4 kB / 0.7346 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.709, allocations: 4 kB / 0.7346 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.7092, allocations: 68.48 kB / 0.7347 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.71, allocations: 0.5705 MB / 0.7353 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.7103, allocations: 134.7 kB / 0.7354 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.7104, allocations: 44.83 kB / 0.7354 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.7105, allocations: 7.984 kB / 0.7354 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.7107, allocations: 107.3 kB / 0.7355 GB, free: 3.645 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.7107, allocations: 4 kB / 0.7355 GB, free: 3.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004862/0.7112, allocations: 233.7 kB / 0.7358 GB, free: 3.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.7113, allocations: 77.11 kB / 0.7358 GB, free: 3.312 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/0.712, allocations: 0.6719 MB / 0.7365 GB, free: 2.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.7121, allocations: 33.69 kB / 0.7365 GB, free: 2.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.7123, allocations: 260.3 kB / 0.7368 GB, free: 2.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.7123, allocations: 35.64 kB / 0.7368 GB, free: 2.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.7123, allocations: 0 / 0.7368 GB, free: 2.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7125, allocations: 382.8 kB / 0.7372 GB, free: 1.914 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.7126, allocations: 67.97 kB / 0.7372 GB, free: 1.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.7128, allocations: 117.1 kB / 0.7374 GB, free: 1.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.713, allocations: 75.94 kB / 0.7374 GB, free: 1.641 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.713, allocations: 4 kB / 0.7374 GB, free: 1.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003827/0.7134, allocations: 267.4 kB / 0.7377 GB, free: 1.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.7134, allocations: 11.88 kB / 0.7377 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7134, allocations: 0 / 0.7377 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.7134, allocations: 8.031 kB / 0.7377 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.7136, allocations: 31.98 kB / 0.7377 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.7136, allocations: 0 / 0.7377 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.7137, allocations: 27.95 kB / 0.7378 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.7138, allocations: 11.98 kB / 0.7378 GB, free: 1.281 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.0001926/0.714, allocations: 215.4 kB / 0.738 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.714, allocations: 55.33 kB / 0.738 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.608e-05/0.7141, allocations: 60.98 kB / 0.7381 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7141, allocations: 0 / 0.7381 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.7141, allocations: 8 kB / 0.7381 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7142, allocations: 0 / 0.7381 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.7145, allocations: 373.3 kB / 0.7385 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7145, allocations: 3.953 kB / 0.7385 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.7145, allocations: 7.938 kB / 0.7385 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.7145, allocations: 4 kB / 0.7385 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.7145, allocations: 7.984 kB / 0.7385 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.7146, allocations: 0 / 0.7385 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7146, allocations: 3.984 kB / 0.7385 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.7149, allocations: 218.1 kB / 0.7387 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.715, allocations: 136.3 kB / 0.7388 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.7151, allocations: 7.984 kB / 0.7388 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.7152, allocations: 12 kB / 0.7388 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.7152, allocations: 15.97 kB / 0.7389 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.7153, allocations: 11.98 kB / 0.7389 GB, free: 68 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004909/0.7157, allocations: 459 kB / 0.7393 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7158, allocations: 0 / 0.7393 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002897/0.7161, allocations: 63.94 kB / 0.7394 GB, free: 15.56 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.001005/0.7171, allocations: 428.4 kB / 0.7398 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.7174, allocations: 151.9 kB / 0.7399 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7174, allocations: 0 / 0.7399 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.7175, allocations: 58.67 kB / 0.74 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.718, allocations: 88.08 kB / 0.7401 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.7193, allocations: 0.9107 MB / 0.7409 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.7197, allocations: 0.8575 MB / 0.7418 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.7199, allocations: 42.27 kB / 0.7418 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.72, allocations: 31.42 kB / 0.7419 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.72, allocations: 3.938 kB / 0.7419 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.008295/0.7283, allocations: 3.816 MB / 0.7456 GB, free: 9.324 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: