Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4932/0.4932, allocations: 90.91 MB / 99.34 MB, free: 2.238 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 221.5 MB / 343.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009187, allocations: 111.4 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.984e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 72.31 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5905, allocations: 102.7 MB / 0.654 GB, free: 7.246 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.5908, allocations: 85.14 kB / 0.654 GB, free: 7.199 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01542/0.6062, allocations: 5.332 MB / 0.6592 GB, free: 2.754 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.6062, allocations: 0 / 0.6592 GB, free: 2.754 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.6062, allocations: 0 / 0.6592 GB, free: 2.754 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004702/0.6067, allocations: 401.9 kB / 0.6596 GB, free: 2.324 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6068, allocations: 8.031 kB / 0.6596 GB, free: 2.316 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.6069, allocations: 15.84 kB / 0.6597 GB, free: 2.301 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.6071, allocations: 195.3 kB / 0.6598 GB, free: 2.074 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.6072, allocations: 4 kB / 0.6598 GB, free: 2.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.6072, allocations: 3.938 kB / 0.6598 GB, free: 2.066 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.837e-05/0.6073, allocations: 26.48 kB / 0.6599 GB, free: 2.047 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.561e-05/0.6074, allocations: 44.62 kB / 0.6599 GB, free: 2.004 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.6074, allocations: 0 / 0.6599 GB, free: 2.004 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6074, allocations: 3.953 kB / 0.6599 GB, free: 2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6074, allocations: 4 kB / 0.6599 GB, free: 1.996 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.6079, allocations: 289 kB / 0.6602 GB, free: 1.695 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.608, allocations: 44.75 kB / 0.6602 GB, free: 1.652 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.6081, allocations: 16.11 kB / 0.6603 GB, free: 1.637 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.6081, allocations: 0 / 0.6603 GB, free: 1.637 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6081, allocations: 42.44 kB / 0.6603 GB, free: 1.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.6081, allocations: 0 / 0.6603 GB, free: 1.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002235/0.6084, allocations: 64.27 kB / 0.6604 GB, free: 1.527 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.6084, allocations: 51.41 kB / 0.6604 GB, free: 1.465 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.6085, allocations: 126.5 kB / 0.6605 GB, free: 1.344 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.6085, allocations: 25.7 kB / 0.6605 GB, free: 1.312 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.6086, allocations: 94.94 kB / 0.6606 GB, free: 1.223 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.6086, allocations: 14.75 kB / 0.6607 GB, free: 1.211 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.6086, allocations: 0 / 0.6607 GB, free: 1.211 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6087, allocations: 325.7 kB / 0.661 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.6088, allocations: 11.25 kB / 0.661 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.6088, allocations: 10.44 kB / 0.661 GB, free: 0.875 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.6088, allocations: 11.25 kB / 0.661 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6089, allocations: 0 / 0.661 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001398/0.609, allocations: 70.03 kB / 0.6611 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.609, allocations: 11.98 kB / 0.6611 GB, free: 0.793 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.609, allocations: 256 / 0.6611 GB, free: 0.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.6091, allocations: 0 / 0.6611 GB, free: 0.793 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.6092, allocations: 27.94 kB / 0.6611 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.6092, allocations: 0 / 0.6611 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.6093, allocations: 7.984 kB / 0.6611 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.6093, allocations: 7.938 kB / 0.6611 GB, free: 0.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.889e-05/0.6094, allocations: 101 kB / 0.6612 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001399/0.6095, allocations: 66.78 kB / 0.6613 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.6095, allocations: 3.906 kB / 0.6613 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.6097, allocations: 90.83 kB / 0.6614 GB, free: 0.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6097, allocations: 7.875 kB / 0.6614 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6097, allocations: 0 / 0.6614 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6097, allocations: 0 / 0.6614 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.6099, allocations: 157.2 kB / 0.6615 GB, free: 316 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6099, allocations: 4 kB / 0.6615 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.61, allocations: 19.11 kB / 0.6615 GB, free: 296 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6101, allocations: 0 / 0.6615 GB, free: 296 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.6101, allocations: 0 / 0.6615 GB, free: 296 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6101, allocations: 0 / 0.6615 GB, free: 296 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6101, allocations: 7.953 kB / 0.6616 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.6103, allocations: 163.7 kB / 0.6617 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.6103, allocations: 81.02 kB / 0.6618 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.6104, allocations: 3.984 kB / 0.6618 GB, free: 16 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.6105, allocations: 8.188 kB / 0.6618 GB, free: 8 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.6105, allocations: 8.016 kB / 0.6618 GB, free: 0 / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.6105, allocations: 8.047 kB / 0.6618 GB, free: 15.99 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.72e-05/0.6106, allocations: 103.6 kB / 0.6619 GB, free: 15.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6106, allocations: 0 / 0.6619 GB, free: 15.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.6108, allocations: 20 kB / 0.6619 GB, free: 15.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0005203/0.6114, allocations: 0.71 MB / 0.6626 GB, free: 15.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.6115, allocations: 41.55 kB / 0.6627 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6115, allocations: 3.938 kB / 0.6627 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.6116, allocations: 19 kB / 0.6627 GB, free: 15.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.6118, allocations: 11.91 kB / 0.6627 GB, free: 15.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.6122, allocations: 141.3 kB / 0.6628 GB, free: 14.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6125, allocations: 0.6924 MB / 0.6635 GB, free: 14.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.6126, allocations: 8.188 kB / 0.6635 GB, free: 14.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.6126, allocations: 24.86 kB / 0.6635 GB, free: 14.19 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6126, allocations: 3.938 kB / 0.6635 GB, free: 14.19 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.6322, allocations: 1.645 MB / 0.6652 GB, free: 12.57 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.6325, allocations: 154.1 kB / 0.6653 GB, free: 12.37 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.154, allocations: 0 / 0.6653 GB, free: 12.37 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)