Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.494/1.494, allocations: 289.9 MB / 297.4 MB, free: 6.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001352, allocations: 184.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.3 MB / 0.626 GB, free: 7.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 93.69 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.658e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5282, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.6904, allocations: 144.5 MB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.6907, allocations: 93.06 kB / 1.114 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03505/0.7257, allocations: 13.66 MB / 1.128 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.935e-06/0.7258, allocations: 4 kB / 1.128 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.952e-05/0.7258, allocations: 7.938 kB / 1.128 GB, free: 7.922 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.0009951/0.7268, allocations: 0.6875 MB / 1.128 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7269, allocations: 8.031 kB / 1.129 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.727, allocations: 59.25 kB / 1.129 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007422/0.7278, allocations: 443.8 kB / 1.129 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.7278, allocations: 4 kB / 1.129 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.7278, allocations: 8 kB / 1.129 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000148/0.728, allocations: 61.98 kB / 1.129 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.7282, allocations: 128.8 kB / 1.129 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.7282, allocations: 3.938 kB / 1.129 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.7282, allocations: 0 / 1.129 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.7283, allocations: 4 kB / 1.129 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.7291, allocations: 0.5639 MB / 1.13 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.7293, allocations: 110.8 kB / 1.13 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.7294, allocations: 36.86 kB / 1.13 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.7294, allocations: 0 / 1.13 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.7296, allocations: 111.3 kB / 1.13 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.7296, allocations: 0 / 1.13 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003566/0.73, allocations: 192.8 kB / 1.13 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.7301, allocations: 77.11 kB / 1.13 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.7307, allocations: 0.5776 MB / 1.131 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.7308, allocations: 29.7 kB / 1.131 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.731, allocations: 264.3 kB / 1.131 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.731, allocations: 35.61 kB / 1.131 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.731, allocations: 4.219 kB / 1.131 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7312, allocations: 370.8 kB / 1.131 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.7313, allocations: 76.36 kB / 1.132 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.7314, allocations: 123.2 kB / 1.132 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.7317, allocations: 97.16 kB / 1.132 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7317, allocations: 4 kB / 1.132 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004563/0.7322, allocations: 278.7 kB / 1.132 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7322, allocations: 4 kB / 1.132 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7322, allocations: 0 / 1.132 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.7322, allocations: 4 kB / 1.132 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.7324, allocations: 39.94 kB / 1.132 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.7324, allocations: 0 / 1.132 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.7326, allocations: 28.39 kB / 1.132 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.7327, allocations: 11.2 kB / 1.132 GB, free: 3.305 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 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete 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.000103/0.7328, allocations: 120.8 kB / 1.132 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.7328, allocations: 55.34 kB / 1.132 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.7332, allocations: 199.7 kB / 1.132 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7332, allocations: 4 kB / 1.132 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7332, allocations: 3.953 kB / 1.132 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7332, allocations: 4 kB / 1.132 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.7335, allocations: 353.9 kB / 1.133 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7335, allocations: 0 / 1.133 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.7336, allocations: 11.98 kB / 1.133 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7336, allocations: 0 / 1.133 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.7336, allocations: 4 kB / 1.133 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7336, allocations: 0 / 1.133 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7336, allocations: 0 / 1.133 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.7339, allocations: 234 kB / 1.133 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.734, allocations: 137.7 kB / 1.133 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.7341, allocations: 4 kB / 1.133 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.7342, allocations: 11.98 kB / 1.133 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.7343, allocations: 16.02 kB / 1.133 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.7343, allocations: 15.98 kB / 1.133 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004624/0.7348, allocations: 431.1 kB / 1.134 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7348, allocations: 4 kB / 1.134 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003371/0.7351, allocations: 75.86 kB / 1.134 GB, free: 1.566 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.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,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) * 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 (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.0008793/0.736, allocations: 399.7 kB / 1.134 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.7363, allocations: 151.8 kB / 1.134 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7363, allocations: 0 / 1.134 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.7364, allocations: 51.98 kB / 1.134 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.7369, allocations: 81.62 kB / 1.134 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009697/0.7378, allocations: 0.5872 MB / 1.135 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.7383, allocations: 0.8863 MB / 1.136 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.7384, allocations: 50.56 kB / 1.136 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.7385, allocations: 31.42 kB / 1.136 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/0.7385, allocations: 0 / 1.136 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.008619/0.7472, allocations: 4.037 MB / 1.14 GB, free: 11.49 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)