Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.002389/0.002389, allocations: 181.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5656/0.5656, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 223.1 MB / 354.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 92.28 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 72.31 MB / 0.5689 GB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.022/5.2, allocations: 1.665 GB / 2.234 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/5.2, allocations: 78.25 kB / 2.234 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06988/5.27, allocations: 37.38 MB / 2.27 GB, free: 156 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.896e-06/5.27, allocations: 4 kB / 2.27 GB, free: 156 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.678e-06/5.27, allocations: 0 / 2.27 GB, free: 156 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004942/5.271, allocations: 351.5 kB / 2.27 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.022e-05/5.271, allocations: 12.03 kB / 2.27 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/5.271, allocations: 34.55 kB / 2.27 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/5.271, allocations: 19.98 kB / 2.27 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/5.271, allocations: 167 kB / 2.271 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.928e-05/5.271, allocations: 29.7 kB / 2.271 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/5.271, allocations: 7.953 kB / 2.271 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/5.272, allocations: 41.38 kB / 2.271 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/5.272, allocations: 0 / 2.271 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/5.272, allocations: 7.984 kB / 2.271 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/5.272, allocations: 0 / 2.271 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/5.272, allocations: 19.73 kB / 2.271 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/5.272, allocations: 259.9 kB / 2.271 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.459e-05/5.272, allocations: 26.52 kB / 2.271 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/5.273, allocations: 96.83 kB / 2.271 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/5.273, allocations: 30.56 kB / 2.271 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/5.273, allocations: 0 / 2.271 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002963/5.273, allocations: 57.19 kB / 2.271 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/5.273, allocations: 55.34 kB / 2.271 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/5.273, allocations: 96.67 kB / 2.271 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/5.273, allocations: 29.7 kB / 2.271 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/5.273, allocations: 80.14 kB / 2.271 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/5.273, allocations: 7.844 kB / 2.271 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/5.273, allocations: 0 / 2.271 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/5.273, allocations: 318.3 kB / 2.272 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/5.273, allocations: 8.016 kB / 2.272 GB, free: 154 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/5.273, allocations: 22.27 kB / 2.272 GB, free: 154 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/5.273, allocations: 8 kB / 2.272 GB, free: 154 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/5.273, allocations: 3.953 kB / 2.272 GB, free: 154 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.568e-05/5.273, allocations: 57.28 kB / 2.272 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/5.273, allocations: 5.812 kB / 2.272 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/5.273, allocations: 7.938 kB / 2.272 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/5.273, allocations: 4 kB / 2.272 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/5.274, allocations: 7.938 kB / 2.272 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/5.274, allocations: 7.922 kB / 2.272 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/5.274, allocations: 7.562 kB / 2.272 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/5.274, allocations: 0 / 2.272 GB, free: 153.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.296e-05/5.274, allocations: 109.8 kB / 2.272 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/5.274, allocations: 3.953 kB / 2.272 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/5.274, allocations: 10.75 kB / 2.272 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/5.274, allocations: 4 kB / 2.272 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/5.274, allocations: 0 / 2.272 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/5.274, allocations: 0 / 2.272 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/5.274, allocations: 366.6 kB / 2.272 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/5.274, allocations: 0 / 2.272 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/5.274, allocations: 4 kB / 2.272 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/5.274, allocations: 0 / 2.272 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/5.274, allocations: 8.062 kB / 2.272 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/5.274, allocations: 4 kB / 2.272 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/5.274, allocations: 0 / 2.272 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/5.274, allocations: 87.25 kB / 2.272 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/5.274, allocations: 81.11 kB / 2.273 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/5.274, allocations: 3.438 kB / 2.273 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/5.274, allocations: 12.02 kB / 2.273 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/5.274, allocations: 0 / 2.273 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/5.274, allocations: 0 / 2.273 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.646e-05/5.275, allocations: 79.28 kB / 2.273 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/5.275, allocations: 0 / 2.273 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003582/5.275, allocations: 45.67 kB / 2.273 GB, free: 153 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0009981/5.276, allocations: 1.134 MB / 2.274 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001173/5.276, allocations: 19.42 kB / 2.274 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/5.276, allocations: 4 kB / 2.274 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-06/5.276, allocations: 3.938 kB / 2.274 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/5.276, allocations: 11.7 kB / 2.274 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/5.277, allocations: 167.4 kB / 2.274 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/5.277, allocations: 0.6809 MB / 2.275 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.803e-05/5.277, allocations: 15.84 kB / 2.275 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/5.277, allocations: 7.438 kB / 2.275 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/5.277, allocations: 0 / 2.275 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/5.297, allocations: 10.23 MB / 2.285 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/5.297, allocations: 183.2 kB / 2.285 GB, free: 140.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/7.231, allocations: 0 / 2.285 GB, free: 140.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)