Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.6 MB / 307.5 MB, free: 5.152 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.001181/0.001181, allocations: 185 kB / 377.1 MB, free: 1.516 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.865/1.865, allocations: 205.4 MB / 0.6366 GB, free: 9.523 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.001211/0.001211, allocations: 87.2 kB / 0.7509 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005951/0.0005955, allocations: 8 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3848, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8548/1.24, allocations: 145.3 MB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.24, allocations: 86.3 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03751/1.277, allocations: 13.83 MB / 1.144 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.272e-06/1.277, allocations: 0 / 1.144 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.643e-05/1.278, allocations: 11.94 kB / 1.144 GB, free: 20.89 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.001416/1.279, allocations: 0.8181 MB / 1.145 GB, free: 20.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.279, allocations: 16.02 kB / 1.145 GB, free: 20.05 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/1.279, allocations: 41.42 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/1.279, allocations: 58.53 kB / 1.145 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008414/1.28, allocations: 434.3 kB / 1.145 GB, free: 19.53 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/1.28, allocations: 4.938 kB / 1.145 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/1.28, allocations: 13.91 kB / 1.145 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/1.281, allocations: 145.7 kB / 1.145 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.281, allocations: 0 / 1.145 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/1.281, allocations: 7.266 kB / 1.145 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/1.281, allocations: 4 kB / 1.145 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/1.281, allocations: 71.86 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/1.282, allocations: 0.6036 MB / 1.146 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/1.282, allocations: 135.6 kB / 1.146 GB, free: 18.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/1.282, allocations: 0 / 1.146 GB, free: 18.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/1.282, allocations: 113.2 kB / 1.146 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/1.282, allocations: 0 / 1.146 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0005214/1.283, allocations: 247.1 kB / 1.146 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/1.283, allocations: 81.89 kB / 1.147 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/1.284, allocations: 0.6077 MB / 1.147 GB, free: 17.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/1.284, allocations: 37.64 kB / 1.147 GB, free: 17.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/1.284, allocations: 270.4 kB / 1.147 GB, free: 17.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/1.284, allocations: 31.61 kB / 1.147 GB, free: 17.37 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/1.284, allocations: 8 kB / 1.148 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.284, allocations: 369 kB / 1.148 GB, free: 17.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/1.284, allocations: 87.25 kB / 1.148 GB, free: 16.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/1.285, allocations: 134.5 kB / 1.148 GB, free: 16.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/1.285, allocations: 90.16 kB / 1.148 GB, free: 16.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.285, allocations: 0 / 1.148 GB, free: 16.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005082/1.285, allocations: 298.5 kB / 1.148 GB, free: 16.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.285, allocations: 4 kB / 1.148 GB, free: 16.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.285, allocations: 4.609 kB / 1.148 GB, free: 16.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.285, allocations: 4 kB / 1.148 GB, free: 16.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/1.286, allocations: 33.02 kB / 1.148 GB, free: 16.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.286, allocations: 7.938 kB / 1.148 GB, free: 16.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/1.286, allocations: 25 kB / 1.149 GB, free: 16.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/1.286, allocations: 12.91 kB / 1.149 GB, free: 16.37 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 () * 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.0002325/1.286, allocations: 208.9 kB / 1.149 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/1.286, allocations: 57.53 kB / 1.149 GB, free: 16.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/1.287, allocations: 219.9 kB / 1.149 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.287, allocations: 8.469 kB / 1.149 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.287, allocations: 0 / 1.149 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.287, allocations: 1.031 kB / 1.149 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/1.287, allocations: 388.3 kB / 1.149 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.287, allocations: 0 / 1.149 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/1.287, allocations: 9.922 kB / 1.149 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.287, allocations: 0 / 1.149 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/1.287, allocations: 5.219 kB / 1.149 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.287, allocations: 0.6094 kB / 1.149 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.287, allocations: 4.969 kB / 1.149 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/1.287, allocations: 241.2 kB / 1.15 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.288, allocations: 139.3 kB / 1.15 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/1.288, allocations: 4.562 kB / 1.15 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.288, allocations: 11.66 kB / 1.15 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/1.288, allocations: 28.3 kB / 1.15 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/1.288, allocations: 4.75 kB / 1.15 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005021/1.288, allocations: 475 kB / 1.15 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.288, allocations: 0 / 1.15 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003911/1.289, allocations: 86.09 kB / 1.15 GB, free: 14.65 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) * 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.00163/1.29, allocations: 1.134 MB / 1.151 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003753/1.291, allocations: 170.4 kB / 1.152 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.291, allocations: 0 / 1.152 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/1.291, allocations: 63.91 kB / 1.152 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/1.291, allocations: 80.53 kB / 1.152 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/1.293, allocations: 1.617 MB / 1.153 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/1.294, allocations: 0.8763 MB / 1.154 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000194/1.294, allocations: 47.38 kB / 1.154 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/1.294, allocations: 167.8 kB / 1.154 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of SimCode: time 2.094e-06/1.294, allocations: 4 kB / 1.154 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/1.32, allocations: 9.915 MB / 1.164 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.32, allocations: 238.1 kB / 1.164 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.767, allocations: 0 / 1.164 GB, free: 2.414 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)