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.657/1.657, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001498/0.001498, allocations: 185 kB / 371.8 MB, free: 10.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 1.854/1.854, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 89.17 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006775/0.0006779, allocations: 11.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3241, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9808/1.305, allocations: 144.3 MB / 1.12 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.305, allocations: 96.7 kB / 1.12 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03216/1.337, allocations: 13.82 MB / 1.134 GB, free: 28.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/1.337, allocations: 3.906 kB / 1.134 GB, free: 28.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.422e-05/1.338, allocations: 11.09 kB / 1.134 GB, free: 28.95 MB / 0.698 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.001072/1.339, allocations: 0.8107 MB / 1.135 GB, free: 28.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.339, allocations: 15.73 kB / 1.135 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/1.339, allocations: 41 kB / 1.135 GB, free: 28.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.313e-05/1.339, allocations: 58.34 kB / 1.135 GB, free: 28.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/1.339, allocations: 438.7 kB / 1.135 GB, free: 27.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.34, allocations: 7.375 kB / 1.135 GB, free: 27.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/1.34, allocations: 7.719 kB / 1.135 GB, free: 27.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/1.34, allocations: 150.4 kB / 1.135 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.34, allocations: 0 / 1.135 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/1.34, allocations: 3.188 kB / 1.135 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/1.34, allocations: 3.875 kB / 1.135 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/1.34, allocations: 76.89 kB / 1.136 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008797/1.341, allocations: 0.5965 MB / 1.136 GB, free: 27.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/1.341, allocations: 124 kB / 1.136 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/1.341, allocations: 11.77 kB / 1.136 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/1.341, allocations: 120.1 kB / 1.136 GB, free: 27.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.634e-06/1.341, allocations: 0 / 1.136 GB, free: 27.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005084/1.342, allocations: 236.5 kB / 1.137 GB, free: 27.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/1.342, allocations: 84.94 kB / 1.137 GB, free: 27.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/1.343, allocations: 0.6016 MB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/1.343, allocations: 37.11 kB / 1.137 GB, free: 26.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/1.343, allocations: 271.8 kB / 1.138 GB, free: 26.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/1.343, allocations: 37.19 kB / 1.138 GB, free: 26.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/1.343, allocations: 5.75 kB / 1.138 GB, free: 26.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.343, allocations: 367.8 kB / 1.138 GB, free: 26.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/1.343, allocations: 85.7 kB / 1.138 GB, free: 26.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/1.344, allocations: 138.7 kB / 1.138 GB, free: 26.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/1.344, allocations: 91.28 kB / 1.138 GB, free: 26.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.344, allocations: 0 / 1.138 GB, free: 26.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004111/1.344, allocations: 294.2 kB / 1.139 GB, free: 26.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.344, allocations: 7.688 kB / 1.139 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.344, allocations: 7.734 kB / 1.139 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.344, allocations: 4 kB / 1.139 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/1.344, allocations: 34.58 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.344, allocations: 3.969 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/1.345, allocations: 23.27 kB / 1.139 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/1.345, allocations: 10.88 kB / 1.139 GB, free: 26.17 MB / 0.698 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 () * Number of clocked 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.0002095/1.345, allocations: 214.3 kB / 1.139 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/1.345, allocations: 58.31 kB / 1.139 GB, free: 26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/1.345, allocations: 216.9 kB / 1.139 GB, free: 25.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.345, allocations: 7.938 kB / 1.139 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.345, allocations: 0 / 1.139 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.345, allocations: 0 / 1.139 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/1.346, allocations: 382.9 kB / 1.139 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.346, allocations: 0 / 1.139 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/1.346, allocations: 19.08 kB / 1.139 GB, free: 25.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.346, allocations: 0 / 1.139 GB, free: 25.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/1.346, allocations: 7.656 kB / 1.139 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.346, allocations: 0 / 1.139 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.346, allocations: 3.953 kB / 1.139 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/1.346, allocations: 236.2 kB / 1.14 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/1.346, allocations: 138.9 kB / 1.14 GB, free: 25.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/1.346, allocations: 3.781 kB / 1.14 GB, free: 25.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/1.346, allocations: 18.7 kB / 1.14 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/1.347, allocations: 22.52 kB / 1.14 GB, free: 25.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/1.347, allocations: 3.906 kB / 1.14 GB, free: 25.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004353/1.347, allocations: 473.5 kB / 1.14 GB, free: 25.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.347, allocations: 3.938 kB / 1.14 GB, free: 25.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000351/1.347, allocations: 87.66 kB / 1.14 GB, free: 25.2 MB / 0.698 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) * Number of clocked states: 0 () * 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.001512/1.349, allocations: 1.128 MB / 1.142 GB, free: 24.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003401/1.349, allocations: 170.9 kB / 1.142 GB, free: 24.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.349, allocations: 3.938 kB / 1.142 GB, free: 24.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/1.349, allocations: 60.62 kB / 1.142 GB, free: 24.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/1.35, allocations: 82.44 kB / 1.142 GB, free: 24.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/1.351, allocations: 1.622 MB / 1.143 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/1.352, allocations: 0.8774 MB / 1.144 GB, free: 22.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001442/1.352, allocations: 40.7 kB / 1.144 GB, free: 22.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/1.352, allocations: 169 kB / 1.144 GB, free: 22.38 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/1.352, allocations: 3.938 kB / 1.144 GB, free: 22.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/1.373, allocations: 9.942 MB / 1.154 GB, free: 17.54 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/1.374, allocations: 242.5 kB / 1.154 GB, free: 17.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.667, allocations: 0 / 1.154 GB, free: 17.29 MB / 0.698 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)