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.738/1.738, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001015/0.001016, allocations: 181.9 kB / 371.6 MB, free: 3.391 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.297/1.297, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0008608/0.0008609, allocations: 93.5 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.206e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6518/0.8678, allocations: 145.2 MB / 1.122 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.868, allocations: 92.23 kB / 1.122 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03099/0.899, allocations: 13.78 MB / 1.135 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8991, allocations: 4 kB / 1.135 GB, free: 32.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.996e-05/0.8991, allocations: 8 kB / 1.135 GB, free: 32.12 MB / 0.7448 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.0007035/0.8998, allocations: 0.6811 MB / 1.136 GB, free: 31.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.8999, allocations: 8.031 kB / 1.136 GB, free: 31.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.9, allocations: 60.97 kB / 1.136 GB, free: 31.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.9006, allocations: 446.5 kB / 1.136 GB, free: 31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.9006, allocations: 11.14 kB / 1.136 GB, free: 31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.9007, allocations: 11.44 kB / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.9009, allocations: 136 kB / 1.136 GB, free: 30.9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9009, allocations: 4.5 kB / 1.136 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.901, allocations: 3.25 kB / 1.136 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.901, allocations: 7.984 kB / 1.136 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.9011, allocations: 70.11 kB / 1.137 GB, free: 30.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.9019, allocations: 0.5869 MB / 1.137 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.9021, allocations: 127.6 kB / 1.137 GB, free: 30.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.9022, allocations: 43.42 kB / 1.137 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.9022, allocations: 4 kB / 1.137 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.9024, allocations: 106.5 kB / 1.137 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.9024, allocations: 0.75 kB / 1.137 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003124/0.9027, allocations: 195.2 kB / 1.138 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.9027, allocations: 81.11 kB / 1.138 GB, free: 29.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.9033, allocations: 0.6074 MB / 1.138 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.9033, allocations: 40.5 kB / 1.138 GB, free: 29.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.9035, allocations: 268.1 kB / 1.139 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.9035, allocations: 29.33 kB / 1.139 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.9035, allocations: 3.25 kB / 1.139 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9036, allocations: 371.6 kB / 1.139 GB, free: 29.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.9038, allocations: 81.33 kB / 1.139 GB, free: 28.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.9039, allocations: 127.3 kB / 1.139 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.904, allocations: 84.38 kB / 1.139 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.904, allocations: 3.938 kB / 1.139 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003594/0.9044, allocations: 291 kB / 1.139 GB, free: 28.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.9044, allocations: 4.797 kB / 1.139 GB, free: 28.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9044, allocations: 4.891 kB / 1.139 GB, free: 28.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.9045, allocations: 4 kB / 1.139 GB, free: 28.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.9046, allocations: 36.52 kB / 1.14 GB, free: 28.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.9047, allocations: 4 kB / 1.14 GB, free: 28.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.9048, allocations: 23.91 kB / 1.14 GB, free: 28.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.9049, allocations: 11.69 kB / 1.14 GB, free: 28.55 MB / 0.7448 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 7.968e-05/0.905, allocations: 129.5 kB / 1.14 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.905, allocations: 60 kB / 1.14 GB, free: 28.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.9054, allocations: 204 kB / 1.14 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.9054, allocations: 8.609 kB / 1.14 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9054, allocations: 0.5625 kB / 1.14 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9054, allocations: 0.5625 kB / 1.14 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.9057, allocations: 384.2 kB / 1.14 GB, free: 27.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9057, allocations: 3.938 kB / 1.14 GB, free: 27.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.9058, allocations: 13.88 kB / 1.14 GB, free: 27.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9058, allocations: 0 / 1.14 GB, free: 27.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.9058, allocations: 9.219 kB / 1.14 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9058, allocations: 0.6094 kB / 1.14 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9058, allocations: 3.953 kB / 1.14 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.9061, allocations: 221.8 kB / 1.141 GB, free: 27.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.9062, allocations: 144 kB / 1.141 GB, free: 27.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.9063, allocations: 4.656 kB / 1.141 GB, free: 27.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.9064, allocations: 19.3 kB / 1.141 GB, free: 27.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.9065, allocations: 28.23 kB / 1.141 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.9065, allocations: 5.312 kB / 1.141 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004538/0.907, allocations: 464.8 kB / 1.141 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.7e-07/0.907, allocations: 0 / 1.141 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003369/0.9073, allocations: 85.47 kB / 1.141 GB, free: 27.17 MB / 0.7448 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.000973/0.9083, allocations: 421.7 kB / 1.142 GB, free: 26.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.9086, allocations: 158.1 kB / 1.142 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9086, allocations: 0 / 1.142 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.9087, allocations: 62.95 kB / 1.142 GB, free: 26.76 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.9092, allocations: 88.14 kB / 1.142 GB, free: 26.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009233/0.9101, allocations: 0.5976 MB / 1.143 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.9104, allocations: 0.8789 MB / 1.143 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.9106, allocations: 51.77 kB / 1.143 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.9107, allocations: 34.03 kB / 1.143 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of SimCode: time 4.7e-07/0.9107, allocations: 3.938 kB / 1.143 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.00994/0.9206, allocations: 4.681 MB / 1.148 GB, free: 22.65 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)