Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.7/1.7, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001112/0.001111, allocations: 185 kB / 377.1 MB, free: 1.504 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.91/1.91, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.0009774/0.0009772, allocations: 86.88 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.000409, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3415, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8368/1.178, allocations: 144.2 MB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.179, allocations: 89.58 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0265/1.205, allocations: 10.2 MB / 1.139 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.524e-06/1.205, allocations: 0 / 1.139 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.378e-05/1.205, allocations: 8.219 kB / 1.139 GB, free: 24.09 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000937/1.206, allocations: 0.6791 MB / 1.14 GB, free: 23.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/1.206, allocations: 12.72 kB / 1.14 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/1.206, allocations: 39.5 kB / 1.14 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/1.207, allocations: 46.39 kB / 1.14 GB, free: 23.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/1.207, allocations: 344.2 kB / 1.14 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/1.207, allocations: 5.391 kB / 1.14 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/1.207, allocations: 11.44 kB / 1.14 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/1.207, allocations: 78.17 kB / 1.14 GB, free: 22.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.207, allocations: 7.938 kB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/1.207, allocations: 0.7969 kB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.207, allocations: 0 / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/1.208, allocations: 38.56 kB / 1.14 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/1.208, allocations: 475.2 kB / 1.141 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/1.209, allocations: 76.03 kB / 1.141 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/1.209, allocations: 4 kB / 1.141 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/1.209, allocations: 74.84 kB / 1.141 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/1.209, allocations: 0 / 1.141 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003839/1.209, allocations: 149.3 kB / 1.141 GB, free: 22.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/1.209, allocations: 56.77 kB / 1.141 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/1.21, allocations: 487.4 kB / 1.142 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/1.21, allocations: 25.7 kB / 1.142 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/1.21, allocations: 225.7 kB / 1.142 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/1.21, allocations: 14.48 kB / 1.142 GB, free: 21.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/1.21, allocations: 8 kB / 1.142 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.211, allocations: 357.7 kB / 1.142 GB, free: 21.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/1.211, allocations: 55.36 kB / 1.142 GB, free: 20.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/1.211, allocations: 85.55 kB / 1.142 GB, free: 20.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/1.211, allocations: 57.34 kB / 1.143 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.211, allocations: 0 / 1.143 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000371/1.211, allocations: 219.1 kB / 1.143 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.211, allocations: 4 kB / 1.143 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.211, allocations: 5.281 kB / 1.143 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/1.211, allocations: 4 kB / 1.143 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/1.212, allocations: 23.03 kB / 1.143 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/1.212, allocations: 8.703 kB / 1.143 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/1.212, allocations: 14.95 kB / 1.143 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/1.212, allocations: 4.516 kB / 1.143 GB, free: 20.57 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002324/1.212, allocations: 184.6 kB / 1.143 GB, free: 20.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/1.212, allocations: 48.38 kB / 1.143 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/1.212, allocations: 134.9 kB / 1.143 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.212, allocations: 0.5625 kB / 1.143 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.212, allocations: 0 / 1.143 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.212, allocations: 8.562 kB / 1.143 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/1.213, allocations: 303.8 kB / 1.143 GB, free: 19.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.213, allocations: 112 / 1.143 GB, free: 19.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/1.213, allocations: 8.922 kB / 1.143 GB, free: 19.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.213, allocations: 0.75 kB / 1.143 GB, free: 19.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/1.213, allocations: 4.797 kB / 1.143 GB, free: 19.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.213, allocations: 8.703 kB / 1.143 GB, free: 19.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.213, allocations: 0 / 1.143 GB, free: 19.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/1.213, allocations: 158.4 kB / 1.144 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.213, allocations: 123.8 kB / 1.144 GB, free: 19.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/1.213, allocations: 6 kB / 1.144 GB, free: 19.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/1.214, allocations: 11.05 kB / 1.144 GB, free: 19.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/1.214, allocations: 13.02 kB / 1.144 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/1.214, allocations: 1.031 kB / 1.144 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004304/1.214, allocations: 368 kB / 1.144 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/1.214, allocations: 0 / 1.144 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003569/1.214, allocations: 54.77 kB / 1.144 GB, free: 19.22 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001611/1.216, allocations: 1.056 MB / 1.145 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003003/1.216, allocations: 95.06 kB / 1.145 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.216, allocations: 0 / 1.145 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/1.216, allocations: 40.14 kB / 1.145 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/1.217, allocations: 52.66 kB / 1.145 GB, free: 18.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/1.219, allocations: 1.179 MB / 1.147 GB, free: 17.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/1.219, allocations: 0.8238 MB / 1.147 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000118/1.219, allocations: 25.88 kB / 1.147 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/1.219, allocations: 115.7 kB / 1.147 GB, free: 16.15 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/1.219, allocations: 0 / 1.147 GB, free: 16.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/1.241, allocations: 7.465 MB / 1.155 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/1.242, allocations: 229.9 kB / 1.155 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.502, allocations: 0 / 1.155 GB, free: 11.39 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)