Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.564/1.564, allocations: 285.4 MB / 298 MB, free: 5.957 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.001058/0.001058, allocations: 180.8 kB / 366.4 MB, free: 2.086 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.1 MB / 0.6248 GB, free: 7.75 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.0007893/0.0007893, allocations: 95.83 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.785e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5659/0.5659, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.7352, allocations: 144.2 MB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.7356, allocations: 94.78 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03532/0.7709, allocations: 13.79 MB / 1.125 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7709, allocations: 0 / 1.125 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.381e-05/0.771, allocations: 8 kB / 1.125 GB, free: 9.691 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.0007671/0.7717, allocations: 0.6943 MB / 1.126 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7718, allocations: 8.031 kB / 1.126 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.7718, allocations: 42.12 kB / 1.126 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.7719, allocations: 63.25 kB / 1.126 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006707/0.7726, allocations: 443.8 kB / 1.127 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.7726, allocations: 19.84 kB / 1.127 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.7727, allocations: 12 kB / 1.127 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.7729, allocations: 133 kB / 1.127 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-06/0.7729, allocations: 0 / 1.127 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.773, allocations: 3.984 kB / 1.127 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.773, allocations: 4 kB / 1.127 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.7731, allocations: 64.55 kB / 1.127 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.774, allocations: 0.5911 MB / 1.127 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.7742, allocations: 122.7 kB / 1.128 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.7743, allocations: 48.84 kB / 1.128 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.7743, allocations: 0 / 1.128 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.7745, allocations: 121.4 kB / 1.128 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.7745, allocations: 0 / 1.128 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.000345/0.7748, allocations: 184.9 kB / 1.128 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.7749, allocations: 85.09 kB / 1.128 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.7756, allocations: 0.6088 MB / 1.129 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.7756, allocations: 29.7 kB / 1.129 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.7758, allocations: 268.3 kB / 1.129 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.7758, allocations: 35.61 kB / 1.129 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.7758, allocations: 0 / 1.129 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.776, allocations: 374.8 kB / 1.129 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.7761, allocations: 73.52 kB / 1.129 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.7763, allocations: 133.5 kB / 1.129 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.7764, allocations: 94.39 kB / 1.129 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7764, allocations: 0 / 1.129 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003808/0.7768, allocations: 280.8 kB / 1.13 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7768, allocations: 16.02 kB / 1.13 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7769, allocations: 0 / 1.13 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7769, allocations: 0 / 1.13 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.777, allocations: 35.92 kB / 1.13 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7771, allocations: 2.031 kB / 1.13 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.7772, allocations: 31.83 kB / 1.13 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.7773, allocations: 13.59 kB / 1.13 GB, free: 4.863 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 8.424e-05/0.7774, allocations: 122.7 kB / 1.13 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.7774, allocations: 51.34 kB / 1.13 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.7778, allocations: 218.6 kB / 1.13 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7778, allocations: 48 / 1.13 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7778, allocations: 3.984 kB / 1.13 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.7778, allocations: 3.984 kB / 1.13 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.7781, allocations: 381.3 kB / 1.131 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7781, allocations: 4 kB / 1.131 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.7782, allocations: 9.812 kB / 1.131 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7782, allocations: 4 kB / 1.131 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.7782, allocations: 7.984 kB / 1.131 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.7782, allocations: 3.953 kB / 1.131 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7782, allocations: 3.938 kB / 1.131 GB, free: 4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.7786, allocations: 225.6 kB / 1.131 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.7787, allocations: 136.3 kB / 1.131 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.7787, allocations: 8 kB / 1.131 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.7789, allocations: 21.77 kB / 1.131 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.7789, allocations: 19.92 kB / 1.131 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.779, allocations: 8 kB / 1.131 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004604/0.7794, allocations: 463.1 kB / 1.131 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7794, allocations: 0 / 1.131 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003316/0.7798, allocations: 87.92 kB / 1.132 GB, free: 3.023 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.001252/0.781, allocations: 1.078 MB / 1.133 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.7813, allocations: 166.4 kB / 1.133 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7814, allocations: 4.125 kB / 1.133 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.7815, allocations: 55.98 kB / 1.133 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.7819, allocations: 85.47 kB / 1.133 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.783, allocations: 0.7408 MB / 1.134 GB, free: 1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.7834, allocations: 0.879 MB / 1.134 GB, free: 100 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.7836, allocations: 48.39 kB / 1.135 GB, free: 56 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.7838, allocations: 167.5 kB / 1.135 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.7838, allocations: 0 / 1.135 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.8044, allocations: 10.1 MB / 1.145 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.8046, allocations: 213.8 kB / 1.145 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.753, allocations: 2.344 kB / 1.145 GB, free: 5.824 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)