Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.511/2.511, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001459/0.001458, allocations: 184.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001624/0.001624, allocations: 101.9 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.485e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7853/0.7854, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/1.028, allocations: 143.4 MB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/1.028, allocations: 88.53 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06275/1.091, allocations: 13.67 MB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.683e-06/1.091, allocations: 0 / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.756e-05/1.091, allocations: 8 kB / 1.117 GB, free: 15.3 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.001332/1.092, allocations: 0.6866 MB / 1.118 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.093, allocations: 12.03 kB / 1.118 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/1.093, allocations: 64.44 kB / 1.118 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/1.094, allocations: 435.8 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/1.094, allocations: 5.5 kB / 1.118 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/1.094, allocations: 8 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002398/1.094, allocations: 68.36 kB / 1.118 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/1.095, allocations: 124.8 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.095, allocations: 0 / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/1.095, allocations: 4 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.095, allocations: 3.984 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/1.096, allocations: 0.5639 MB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/1.096, allocations: 106.8 kB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/1.097, allocations: 40.86 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/1.097, allocations: 8 kB / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/1.097, allocations: 112.4 kB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.835e-06/1.097, allocations: 4 kB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0005524/1.097, allocations: 176.9 kB / 1.119 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.098, allocations: 85.09 kB / 1.119 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.099, allocations: 0.5698 MB / 1.12 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/1.099, allocations: 37.7 kB / 1.12 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/1.099, allocations: 265.7 kB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/1.099, allocations: 35.59 kB / 1.12 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/1.099, allocations: 0 / 1.12 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002044/1.099, allocations: 370.8 kB / 1.121 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/1.1, allocations: 77.3 kB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/1.1, allocations: 121.2 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/1.1, allocations: 86.98 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.1, allocations: 224 / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008686/1.101, allocations: 279.2 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/1.101, allocations: 13.03 kB / 1.121 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.101, allocations: 3.984 kB / 1.121 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/1.101, allocations: 7.266 kB / 1.121 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/1.102, allocations: 36.05 kB / 1.121 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/1.102, allocations: 6.438 kB / 1.121 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/1.102, allocations: 29.52 kB / 1.121 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/1.102, allocations: 12 kB / 1.121 GB, free: 10.67 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.00015/1.102, allocations: 110.5 kB / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005015/1.103, allocations: 186.3 kB / 1.121 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.103, allocations: 71.19 kB / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/1.104, allocations: 195.5 kB / 1.122 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.104, allocations: 0 / 1.122 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.104, allocations: 0 / 1.122 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/1.104, allocations: 0 / 1.122 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/1.104, allocations: 346 kB / 1.122 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.104, allocations: 0 / 1.122 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/1.104, allocations: 15.94 kB / 1.122 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/1.105, allocations: 3.984 kB / 1.122 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/1.105, allocations: 0 / 1.122 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.105, allocations: 7.953 kB / 1.122 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.105, allocations: 4 kB / 1.122 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/1.105, allocations: 213.1 kB / 1.122 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/1.105, allocations: 140.4 kB / 1.122 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/1.105, allocations: 9.203 kB / 1.122 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/1.106, allocations: 15.97 kB / 1.122 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/1.106, allocations: 27.92 kB / 1.122 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.106, allocations: 4 kB / 1.122 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008678/1.107, allocations: 435.1 kB / 1.123 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.21e-07/1.107, allocations: 0 / 1.123 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006743/1.107, allocations: 79.83 kB / 1.123 GB, free: 8.762 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.002102/1.11, allocations: 1.058 MB / 1.124 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005743/1.11, allocations: 147.8 kB / 1.124 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.11, allocations: 0 / 1.124 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/1.11, allocations: 59.94 kB / 1.124 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/1.111, allocations: 76.83 kB / 1.124 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/1.114, allocations: 0.7275 MB / 1.125 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/1.114, allocations: 0.8697 MB / 1.126 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003452/1.115, allocations: 51.81 kB / 1.126 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/1.115, allocations: 167.4 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of SimCode: time 1.132e-06/1.115, allocations: 0 / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06174/1.177, allocations: 9.109 MB / 1.135 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/1.177, allocations: 183.3 kB / 1.135 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/3.969, allocations: 2.812 kB / 1.135 GB, free: 12.6 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)