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.917/1.917, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001284/0.001285, allocations: 184.8 kB / 366.7 MB, free: 1.633 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.608/1.608, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.0009424/0.0009426, allocations: 94.53 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.896e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6094/0.6094, allocations: 116.3 MB / 0.9734 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.7935, allocations: 144 MB / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.7939, allocations: 89.09 kB / 1.114 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03212/0.826, allocations: 11.36 MB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.778e-06/0.826, allocations: 0 / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.098e-05/0.8261, allocations: 15.94 kB / 1.125 GB, free: 10.69 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.0008649/0.827, allocations: 0.5909 MB / 1.126 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.827, allocations: 12.03 kB / 1.126 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.8271, allocations: 43.44 kB / 1.126 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.8278, allocations: 375.1 kB / 1.126 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.8279, allocations: 8 kB / 1.126 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.8279, allocations: 4 kB / 1.126 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001398/0.8281, allocations: 47.98 kB / 1.126 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.8282, allocations: 89.44 kB / 1.126 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8282, allocations: 0 / 1.126 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.8283, allocations: 0 / 1.126 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8283, allocations: 0 / 1.126 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.8291, allocations: 496.9 kB / 1.127 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.8293, allocations: 86.09 kB / 1.127 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.8294, allocations: 32.86 kB / 1.127 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.8294, allocations: 7.984 kB / 1.127 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.8296, allocations: 83.23 kB / 1.127 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.8296, allocations: 0 / 1.127 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002943/0.8299, allocations: 138.8 kB / 1.127 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.8299, allocations: 55.39 kB / 1.127 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/0.8305, allocations: 462.1 kB / 1.128 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.8305, allocations: 25.7 kB / 1.128 GB, free: 8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.8307, allocations: 224 kB / 1.128 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.8307, allocations: 31.69 kB / 1.128 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.8307, allocations: 0 / 1.128 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.8309, allocations: 362.7 kB / 1.128 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-05/0.831, allocations: 56.36 kB / 1.128 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.8311, allocations: 87.67 kB / 1.128 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.8314, allocations: 74.05 kB / 1.128 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.8314, allocations: 4 kB / 1.128 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003974/0.8318, allocations: 225 kB / 1.129 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.8318, allocations: 9.094 kB / 1.129 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8318, allocations: 3.938 kB / 1.129 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8319, allocations: 0 / 1.129 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.8321, allocations: 35.92 kB / 1.129 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8321, allocations: 3.953 kB / 1.129 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.8322, allocations: 23.95 kB / 1.129 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.8323, allocations: 11.09 kB / 1.129 GB, free: 6.848 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 () * 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.0001031/0.8324, allocations: 112.9 kB / 1.129 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001955/0.8326, allocations: 137 kB / 1.129 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.8326, allocations: 43.44 kB / 1.129 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.8329, allocations: 145.6 kB / 1.129 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.8329, allocations: 3.953 kB / 1.129 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8329, allocations: 0 / 1.129 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.833, allocations: 11.92 kB / 1.129 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.8333, allocations: 294.2 kB / 1.129 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8333, allocations: 0 / 1.129 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.8334, allocations: 12 kB / 1.129 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8334, allocations: 0 / 1.129 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8334, allocations: 0 / 1.129 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8334, allocations: 0 / 1.129 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8334, allocations: 0 / 1.129 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.8337, allocations: 217.9 kB / 1.13 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.8339, allocations: 118.7 kB / 1.13 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.8339, allocations: 4 kB / 1.13 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.834, allocations: 11.98 kB / 1.13 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.8341, allocations: 7.984 kB / 1.13 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.8341, allocations: 4 kB / 1.13 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003973/0.8345, allocations: 346.8 kB / 1.13 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8345, allocations: 0 / 1.13 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003249/0.8348, allocations: 59.94 kB / 1.13 GB, free: 5.262 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) * 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.001428/0.8363, allocations: 1.043 MB / 1.131 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.8365, allocations: 103.9 kB / 1.131 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8366, allocations: 0 / 1.131 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.8366, allocations: 32 kB / 1.131 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.837, allocations: 64.2 kB / 1.131 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.8383, allocations: 0.6098 MB / 1.132 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.8387, allocations: 0.8351 MB / 1.133 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.8389, allocations: 26.06 kB / 1.133 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.8391, allocations: 119.4 kB / 1.133 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.8391, allocations: 0 / 1.133 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.8672, allocations: 7.208 MB / 1.14 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.8674, allocations: 178.9 kB / 1.14 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/2.948, allocations: 0 / 1.14 GB, free: 11.24 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)