Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 184.3 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007984/0.0007982, allocations: 82.55 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.263e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2138, allocations: 106.4 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8009/1.015, allocations: 138.2 MB / 1.02 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.015, allocations: 80.7 kB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03689/1.052, allocations: 13.45 MB / 1.033 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.415e-06/1.052, allocations: 0 / 1.033 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.016e-05/1.052, allocations: 16 kB / 1.033 GB, free: 3.934 MB / 0.6511 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.00129/1.053, allocations: 0.6799 MB / 1.034 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.053, allocations: 8.031 kB / 1.034 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/1.054, allocations: 59.25 kB / 1.034 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/1.055, allocations: 410.8 kB / 1.035 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/1.055, allocations: 8 kB / 1.035 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/1.055, allocations: 11.98 kB / 1.035 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001675/1.055, allocations: 63.67 kB / 1.035 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/1.055, allocations: 123.6 kB / 1.035 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.055, allocations: 3.984 kB / 1.035 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/1.055, allocations: 4 kB / 1.035 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/1.055, allocations: 0 / 1.035 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/1.056, allocations: 0.566 MB / 1.035 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/1.057, allocations: 104.1 kB / 1.035 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/1.057, allocations: 46.36 kB / 1.035 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/1.057, allocations: 4.203 kB / 1.035 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/1.057, allocations: 117.4 kB / 1.036 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/1.057, allocations: 0 / 1.036 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0004306/1.057, allocations: 182.9 kB / 1.036 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/1.057, allocations: 77.11 kB / 1.036 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007752/1.058, allocations: 0.5692 MB / 1.036 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/1.058, allocations: 33.14 kB / 1.036 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/1.058, allocations: 273 kB / 1.037 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/1.058, allocations: 34.36 kB / 1.037 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/1.059, allocations: 0 / 1.037 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.059, allocations: 370.8 kB / 1.037 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/1.059, allocations: 76.53 kB / 1.037 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.059, allocations: 125.3 kB / 1.037 GB, free: 460 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.059, allocations: 77.66 kB / 1.037 GB, free: 408 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.059, allocations: 0 / 1.037 GB, free: 408 kB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004088/1.06, allocations: 265.3 kB / 1.038 GB, free: 188 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.06, allocations: 4 kB / 1.038 GB, free: 184 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.06, allocations: 3.984 kB / 1.038 GB, free: 180 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.06, allocations: 12.02 kB / 1.038 GB, free: 168 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.06, allocations: 27.98 kB / 1.038 GB, free: 140 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.06, allocations: 4 kB / 1.038 GB, free: 136 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/1.06, allocations: 27.77 kB / 1.038 GB, free: 108 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/1.06, allocations: 11.25 kB / 1.038 GB, free: 100 kB / 0.6511 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.0001357/1.06, allocations: 114.1 kB / 1.038 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002793/1.061, allocations: 189 kB / 1.038 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/1.061, allocations: 71.19 kB / 1.038 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/1.061, allocations: 190.1 kB / 1.038 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.061, allocations: 0 / 1.038 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.061, allocations: 0 / 1.038 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.061, allocations: 4 kB / 1.038 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/1.061, allocations: 349.2 kB / 1.039 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.061, allocations: 0 / 1.039 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/1.061, allocations: 8 kB / 1.039 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.061, allocations: 4 kB / 1.039 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/1.061, allocations: 11.92 kB / 1.039 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.061, allocations: 3.953 kB / 1.039 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.061, allocations: 0 / 1.039 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/1.062, allocations: 221.3 kB / 1.039 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.062, allocations: 132 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/1.062, allocations: 7.359 kB / 1.039 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/1.062, allocations: 12 kB / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/1.062, allocations: 27.61 kB / 1.039 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/1.062, allocations: 7.984 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004859/1.063, allocations: 425.9 kB / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.6e-07/1.063, allocations: 0 / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003739/1.063, allocations: 67.92 kB / 1.039 GB, free: 14.48 MB / 0.6667 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.001472/1.065, allocations: 1.047 MB / 1.04 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002934/1.065, allocations: 150.3 kB / 1.041 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.065, allocations: 0 / 1.041 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/1.065, allocations: 61.25 kB / 1.041 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/1.066, allocations: 83.7 kB / 1.041 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/1.067, allocations: 0.7034 MB / 1.041 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/1.067, allocations: 0.8781 MB / 1.042 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001747/1.068, allocations: 57.91 kB / 1.042 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/1.068, allocations: 166.5 kB / 1.043 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of SimCode: time 4.01e-07/1.068, allocations: 0 / 1.043 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/1.1, allocations: 8.934 MB / 1.051 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.101, allocations: 191.2 kB / 1.051 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.309, allocations: 0 / 1.051 GB, free: 2.555 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)