Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007506/0.0007506, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00236/0.00311, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001777/0.003136, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.988/0.988, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09532/1.083, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.857/1.857, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4709/2.328, allocations: 127.1 MB / 0.7435 GB, free: 4.504 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7448 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.104e-05, allocations: 2.812 kB / 0.7448 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.006551/0.006572, allocations: 2.551 MB / 0.7473 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.009194, allocations: 1.734 MB / 0.749 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003251/0.01244, allocations: 7.938 kB / 0.749 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008108/0.01326, allocations: 319.3 kB / 0.7493 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005687/0.01382, allocations: 277.8 kB / 0.7496 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.01433, allocations: 221.2 kB / 0.7498 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.01492, allocations: 405 kB / 0.7502 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.01504, allocations: 50.81 kB / 0.7502 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.01579, allocations: 352.3 kB / 0.7506 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.01597, allocations: 143.6 kB / 0.7507 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.01601, allocations: 16 kB / 0.7507 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.01618, allocations: 85.48 kB / 0.7508 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.01628, allocations: 123.5 kB / 0.7509 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.003e-05/0.01636, allocations: 79.69 kB / 0.751 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.01676, allocations: 338.5 kB / 0.7513 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.01677, allocations: 1.594 kB / 0.7513 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01678, allocations: 0 / 0.7513 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.01679, allocations: 0 / 0.7513 GB, free: 12.59 MB / 0.7292 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.0008337/0.01762, allocations: 0.8312 MB / 0.7521 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.01765, allocations: 12.03 kB / 0.7521 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.01772, allocations: 40.89 kB / 0.7522 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.01804, allocations: 343.8 kB / 0.7525 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.01806, allocations: 13.31 kB / 0.7525 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.01808, allocations: 12.38 kB / 0.7525 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.01823, allocations: 121.2 kB / 0.7526 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.01823, allocations: 0 / 0.7526 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.01824, allocations: 0 / 0.7526 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.01825, allocations: 4 kB / 0.7526 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.569e-05/0.0183, allocations: 28.91 kB / 0.7527 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.0187, allocations: 300.4 kB / 0.753 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.01883, allocations: 117.3 kB / 0.7531 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.01886, allocations: 24.78 kB / 0.7531 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.01888, allocations: 4 kB / 0.7531 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.01901, allocations: 122.7 kB / 0.7532 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.01901, allocations: 0 / 0.7532 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0001837/0.0192, allocations: 112.1 kB / 0.7533 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.01923, allocations: 63.34 kB / 0.7534 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.0196, allocations: 0.5564 MB / 0.7539 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.01965, allocations: 29.7 kB / 0.754 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.01973, allocations: 175.4 kB / 0.7541 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.01976, allocations: 39.72 kB / 0.7542 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.01982, allocations: 57.61 kB / 0.7542 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.01992, allocations: 379.2 kB / 0.7546 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/0.01995, allocations: 22.81 kB / 0.7546 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.02002, allocations: 113 kB / 0.7547 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.02011, allocations: 92.12 kB / 0.7548 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.02011, allocations: 0 / 0.7548 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002212/0.02034, allocations: 141.2 kB / 0.7549 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.02035, allocations: 9.344 kB / 0.7549 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.02035, allocations: 0 / 0.7549 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.02037, allocations: 0 / 0.7549 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.02047, allocations: 44.67 kB / 0.755 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.02048, allocations: 0 / 0.755 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.02055, allocations: 24.47 kB / 0.755 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.02057, allocations: 9.312 kB / 0.755 GB, free: 8.602 MB / 0.7292 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 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.652e-05/0.02066, allocations: 134.6 kB / 0.7551 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.02069, allocations: 27.97 kB / 0.7552 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.02084, allocations: 148.4 kB / 0.7553 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.02085, allocations: 0 / 0.7553 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.02085, allocations: 0 / 0.7553 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.02085, allocations: 0 / 0.7553 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.02101, allocations: 194.5 kB / 0.7555 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.02101, allocations: 0 / 0.7555 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.02104, allocations: 13.25 kB / 0.7555 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.02108, allocations: 55.5 kB / 0.7556 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.02108, allocations: 0 / 0.7556 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.02109, allocations: 3.984 kB / 0.7556 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02109, allocations: 1.75 kB / 0.7556 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.0211, allocations: 4 kB / 0.7556 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.02124, allocations: 148.7 kB / 0.7557 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.02127, allocations: 4 kB / 0.7557 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.02132, allocations: 13.2 kB / 0.7557 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.02137, allocations: 15.97 kB / 0.7557 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.02138, allocations: 7.984 kB / 0.7558 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002027/0.02158, allocations: 272.1 kB / 0.756 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02158, allocations: 0 / 0.756 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002027/0.02178, allocations: 72.75 kB / 0.7561 GB, free: 7.457 MB / 0.7292 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 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001272/0.02305, allocations: 0.5769 MB / 0.7566 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.02321, allocations: 86.67 kB / 0.7567 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.02322, allocations: 8.781 kB / 0.7567 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.367e-05/0.02329, allocations: 52.75 kB / 0.7568 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.0238, allocations: 0.5429 MB / 0.7573 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.02538, allocations: 0.7564 MB / 0.7581 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.718e-05/0.02546, allocations: 136.2 kB / 0.7582 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.02556, allocations: 44.66 kB / 0.7582 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.0257, allocations: 111.3 kB / 0.7583 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of SimCode: time 8.61e-07/0.02571, allocations: 0 / 0.7583 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of Templates: time 0.008461/0.03417, allocations: 5.08 MB / 0.7633 GB, free: 452 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.975029746070504]