Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.AssertFuelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",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.684/1.684, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001457/0.001457, allocations: 190.3 kB / 377.1 MB, free: 1.52 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.726/1.726, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.0009215/0.0009215, allocations: 97.2 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9745/1.311, allocations: 144.7 MB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/1.311, allocations: 94.67 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03139/1.343, allocations: 11.49 MB / 1.141 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.825e-06/1.343, allocations: 3.938 kB / 1.141 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.994e-05/1.343, allocations: 4.656 kB / 1.141 GB, free: 22.79 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001112/1.344, allocations: 0.6925 MB / 1.142 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.344, allocations: 12.72 kB / 1.142 GB, free: 22.08 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/1.344, allocations: 40.48 kB / 1.142 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/1.344, allocations: 45.5 kB / 1.142 GB, free: 21.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/1.345, allocations: 379.3 kB / 1.142 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/1.345, allocations: 4 kB / 1.142 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/1.345, allocations: 12.8 kB / 1.142 GB, free: 21.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/1.345, allocations: 97.22 kB / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.345, allocations: 0 / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/1.345, allocations: 5.375 kB / 1.142 GB, free: 21.51 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.345, allocations: 0 / 1.142 GB, free: 21.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/1.345, allocations: 61.97 kB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/1.346, allocations: 0.5065 MB / 1.143 GB, free: 20.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/1.346, allocations: 106.1 kB / 1.143 GB, free: 20.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/1.346, allocations: 0 / 1.143 GB, free: 20.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/1.346, allocations: 84.83 kB / 1.143 GB, free: 20.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.973e-06/1.346, allocations: 8.5 kB / 1.143 GB, free: 20.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0003924/1.347, allocations: 170.6 kB / 1.143 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.347, allocations: 59.86 kB / 1.143 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/1.348, allocations: 490.9 kB / 1.144 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/1.348, allocations: 30.36 kB / 1.144 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/1.348, allocations: 222.7 kB / 1.144 GB, free: 19.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/1.348, allocations: 30.81 kB / 1.144 GB, free: 19.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/1.348, allocations: 4 kB / 1.144 GB, free: 19.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.348, allocations: 361.7 kB / 1.144 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/1.348, allocations: 61.05 kB / 1.144 GB, free: 19.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/1.348, allocations: 90.25 kB / 1.145 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/1.348, allocations: 70 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.348, allocations: 0 / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004103/1.349, allocations: 244.8 kB / 1.145 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.349, allocations: 8.656 kB / 1.145 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.349, allocations: 0 / 1.145 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/1.349, allocations: 3.953 kB / 1.145 GB, free: 19.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/1.349, allocations: 37.52 kB / 1.145 GB, free: 19.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/1.349, allocations: 0 / 1.145 GB, free: 19.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/1.349, allocations: 24.05 kB / 1.145 GB, free: 19.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/1.349, allocations: 4.844 kB / 1.145 GB, free: 19.03 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.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002153/1.35, allocations: 186.9 kB / 1.145 GB, free: 18.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/1.35, allocations: 47.98 kB / 1.145 GB, free: 18.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/1.35, allocations: 166.1 kB / 1.145 GB, free: 18.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.35, allocations: 0 / 1.145 GB, free: 18.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.35, allocations: 9.141 kB / 1.145 GB, free: 18.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/1.35, allocations: 1.312 kB / 1.145 GB, free: 18.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/1.35, allocations: 319.6 kB / 1.146 GB, free: 18.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.351, allocations: 0.6094 kB / 1.146 GB, free: 18.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/1.351, allocations: 21.11 kB / 1.146 GB, free: 18.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.351, allocations: 0 / 1.146 GB, free: 18.31 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/1.351, allocations: 1.359 kB / 1.146 GB, free: 18.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.351, allocations: 4 kB / 1.146 GB, free: 18.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.351, allocations: 5.391 kB / 1.146 GB, free: 18.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/1.351, allocations: 216.3 kB / 1.146 GB, free: 18.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.351, allocations: 123.4 kB / 1.146 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/1.351, allocations: 13.28 kB / 1.146 GB, free: 17.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/1.351, allocations: 6.062 kB / 1.146 GB, free: 17.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/1.351, allocations: 13.62 kB / 1.146 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/1.351, allocations: 10.23 kB / 1.146 GB, free: 17.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004376/1.352, allocations: 369.8 kB / 1.146 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/1.352, allocations: 0 / 1.146 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003592/1.352, allocations: 71.22 kB / 1.146 GB, free: 17.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001698/1.354, allocations: 1.099 MB / 1.147 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003084/1.354, allocations: 120.3 kB / 1.148 GB, free: 16.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.354, allocations: 3.938 kB / 1.148 GB, free: 16.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/1.354, allocations: 40.17 kB / 1.148 GB, free: 16.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/1.355, allocations: 60.28 kB / 1.148 GB, free: 16.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.356, allocations: 1.259 MB / 1.149 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/1.357, allocations: 0.8356 MB / 1.15 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001302/1.357, allocations: 32.53 kB / 1.15 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/1.357, allocations: 124.4 kB / 1.15 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/1.357, allocations: 0 / 1.15 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/1.384, allocations: 7.924 MB / 1.158 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/1.385, allocations: 235.7 kB / 1.158 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.819, allocations: 0 / 1.158 GB, free: 8.965 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)