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.835/1.835, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001092/0.001091, allocations: 176.8 kB / 361.4 MB, free: 6.824 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.598/1.598, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008999/0.0008999, allocations: 90.16 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.496e-05, allocations: 8 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6717, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.8643, allocations: 143.5 MB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.8646, allocations: 88.47 kB / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03809/0.9027, allocations: 13.67 MB / 1.118 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9028, allocations: 0 / 1.118 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.313e-05/0.9029, allocations: 8 kB / 1.118 GB, free: 14.43 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.001136/0.904, allocations: 0.692 MB / 1.119 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9041, allocations: 12.03 kB / 1.119 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.9042, allocations: 60.28 kB / 1.119 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.9051, allocations: 436.3 kB / 1.119 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.9051, allocations: 4 kB / 1.119 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.9051, allocations: 8 kB / 1.119 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001701/0.9053, allocations: 64.36 kB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.9056, allocations: 133.7 kB / 1.119 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.9056, allocations: 1.438 kB / 1.119 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.9056, allocations: 4 kB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.9056, allocations: 0 / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.9067, allocations: 0.56 MB / 1.12 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.9069, allocations: 112.4 kB / 1.12 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.907, allocations: 36.86 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.907, allocations: 4 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.9072, allocations: 111.3 kB / 1.12 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.9072, allocations: 4 kB / 1.12 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003658/0.9076, allocations: 185.8 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.9076, allocations: 81.11 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.9084, allocations: 0.5776 MB / 1.121 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.9084, allocations: 29.7 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.9086, allocations: 264.4 kB / 1.121 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.9087, allocations: 27.61 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.9087, allocations: 4 kB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9088, allocations: 370.8 kB / 1.122 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.909, allocations: 77.3 kB / 1.122 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.9091, allocations: 122.5 kB / 1.122 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.9094, allocations: 92.69 kB / 1.122 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9094, allocations: 0 / 1.122 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004762/0.9099, allocations: 280.7 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.9099, allocations: 8 kB / 1.122 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9099, allocations: 0 / 1.122 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.91, allocations: 0 / 1.122 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.9101, allocations: 39.94 kB / 1.122 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9102, allocations: 3.938 kB / 1.122 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.9104, allocations: 34.52 kB / 1.122 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.9104, allocations: 8 kB / 1.122 GB, free: 9.812 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.0001075/0.9105, allocations: 114.7 kB / 1.122 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002809/0.9108, allocations: 181.9 kB / 1.123 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.9109, allocations: 62.25 kB / 1.123 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.9112, allocations: 204.8 kB / 1.123 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.9112, allocations: 4 kB / 1.123 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9112, allocations: 0 / 1.123 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9113, allocations: 3.984 kB / 1.123 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.9116, allocations: 346 kB / 1.123 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.9116, allocations: 0 / 1.123 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.9117, allocations: 19.98 kB / 1.123 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9117, allocations: 3.938 kB / 1.123 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.9117, allocations: 0 / 1.123 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9117, allocations: 0 / 1.123 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.9117, allocations: 5.453 kB / 1.123 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.912, allocations: 226.1 kB / 1.123 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.9121, allocations: 132.4 kB / 1.124 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.9122, allocations: 8 kB / 1.124 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.9123, allocations: 11.98 kB / 1.124 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.9124, allocations: 19.92 kB / 1.124 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.9124, allocations: 8 kB / 1.124 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005012/0.9129, allocations: 431.1 kB / 1.124 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/0.913, allocations: 4 kB / 1.124 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003778/0.9133, allocations: 79.83 kB / 1.124 GB, free: 7.902 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.001518/0.9149, allocations: 1.055 MB / 1.125 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.9152, allocations: 151.8 kB / 1.125 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9152, allocations: 0 / 1.125 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/0.9153, allocations: 55.92 kB / 1.125 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.9158, allocations: 84.64 kB / 1.125 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.9172, allocations: 0.7211 MB / 1.126 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.9176, allocations: 0.8829 MB / 1.127 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.9178, allocations: 50.08 kB / 1.127 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.918, allocations: 167.4 kB / 1.127 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of SimCode: time 8.71e-07/0.918, allocations: 0 / 1.127 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.9505, allocations: 9.106 MB / 1.136 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.9508, allocations: 198.6 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/3.037, allocations: 0 / 1.136 GB, free: 11.69 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)