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.664/1.664, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001076/0.001077, allocations: 181 kB / 371.6 MB, free: 3.414 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.375/1.375, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008323/0.0008323, allocations: 94.27 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.46e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1962, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.62/0.8163, allocations: 144.6 MB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.8166, allocations: 91.77 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02604/0.8426, allocations: 11.46 MB / 1.132 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8427, allocations: 0 / 1.132 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.316e-05/0.8427, allocations: 7.188 kB / 1.132 GB, free: 33.86 MB / 0.7448 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.0005563/0.8433, allocations: 0.5898 MB / 1.133 GB, free: 33.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.8433, allocations: 12.03 kB / 1.133 GB, free: 33.28 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.8434, allocations: 38.25 kB / 1.133 GB, free: 33.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.8434, allocations: 53.3 kB / 1.133 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.8439, allocations: 372.5 kB / 1.133 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.844, allocations: 10.89 kB / 1.133 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.844, allocations: 4 kB / 1.133 GB, free: 32.83 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.8442, allocations: 89.72 kB / 1.134 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.8442, allocations: 4 kB / 1.134 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.8442, allocations: 4.125 kB / 1.134 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8442, allocations: 4 kB / 1.134 GB, free: 32.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.8443, allocations: 45.78 kB / 1.134 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.845, allocations: 0.5207 MB / 1.134 GB, free: 32.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.8451, allocations: 86.75 kB / 1.134 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.8452, allocations: 31.17 kB / 1.134 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.8452, allocations: 4.656 kB / 1.134 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.8453, allocations: 92.39 kB / 1.134 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.8454, allocations: 0.5625 kB / 1.134 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002186/0.8456, allocations: 145.2 kB / 1.134 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.8456, allocations: 54.83 kB / 1.135 GB, free: 31.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.846, allocations: 490.5 kB / 1.135 GB, free: 31.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.8461, allocations: 25.7 kB / 1.135 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.8462, allocations: 228 kB / 1.135 GB, free: 31.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.8462, allocations: 25.92 kB / 1.135 GB, free: 31.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.8462, allocations: 3.062 kB / 1.135 GB, free: 31.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.8463, allocations: 364.1 kB / 1.136 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.8464, allocations: 61.36 kB / 1.136 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.8465, allocations: 88.09 kB / 1.136 GB, free: 31.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.794e-05/0.8466, allocations: 72.17 kB / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8466, allocations: 0 / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002725/0.8469, allocations: 232.1 kB / 1.136 GB, free: 30.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.8469, allocations: 12.06 kB / 1.136 GB, free: 30.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8469, allocations: 0.75 kB / 1.136 GB, free: 30.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8469, allocations: 3.953 kB / 1.136 GB, free: 30.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.8471, allocations: 46.66 kB / 1.136 GB, free: 30.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8471, allocations: 0.7812 kB / 1.136 GB, free: 30.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.8473, allocations: 19.5 kB / 1.136 GB, free: 30.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.8473, allocations: 7.438 kB / 1.136 GB, free: 30.75 MB / 0.7448 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 () * 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 5.546e-05/0.8474, allocations: 121.5 kB / 1.136 GB, free: 30.63 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.8474, allocations: 47.44 kB / 1.136 GB, free: 30.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.8476, allocations: 152.3 kB / 1.136 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8477, allocations: 8.609 kB / 1.136 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.8477, allocations: 0 / 1.136 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8477, allocations: 0 / 1.136 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.8479, allocations: 327.6 kB / 1.137 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8479, allocations: 0 / 1.137 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.848, allocations: 11.38 kB / 1.137 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.848, allocations: 0 / 1.137 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.848, allocations: 9.031 kB / 1.137 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.848, allocations: 1.5 kB / 1.137 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.848, allocations: 3.953 kB / 1.137 GB, free: 30.19 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.8482, allocations: 215.2 kB / 1.137 GB, free: 30.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.8483, allocations: 116.2 kB / 1.137 GB, free: 29.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.8484, allocations: 3.609 kB / 1.137 GB, free: 29.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.8485, allocations: 11.75 kB / 1.137 GB, free: 29.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.8485, allocations: 15.14 kB / 1.137 GB, free: 29.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.8485, allocations: 7.953 kB / 1.137 GB, free: 29.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002885/0.8488, allocations: 369.4 kB / 1.137 GB, free: 29.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8489, allocations: 0 / 1.137 GB, free: 29.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002709/0.8491, allocations: 70.69 kB / 1.138 GB, free: 29.56 MB / 0.7448 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) * 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.00112/0.8503, allocations: 1.059 MB / 1.139 GB, free: 28.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.8505, allocations: 107.4 kB / 1.139 GB, free: 28.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8505, allocations: 4 kB / 1.139 GB, free: 28.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.8505, allocations: 40.69 kB / 1.139 GB, free: 28.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.8509, allocations: 69.09 kB / 1.139 GB, free: 28.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008734/0.8517, allocations: 0.5957 MB / 1.139 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.852, allocations: 0.8422 MB / 1.14 GB, free: 27.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.361e-05/0.8521, allocations: 29.97 kB / 1.14 GB, free: 27.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.8522, allocations: 131.4 kB / 1.14 GB, free: 27.22 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.8522, allocations: 0 / 1.14 GB, free: 27.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.8707, allocations: 8.077 MB / 1.148 GB, free: 22.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001245/0.8709, allocations: 199 kB / 1.148 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.799, allocations: 0 / 1.148 GB, free: 22.04 MB / 0.7448 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)