Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.001084/0.001084, allocations: 182.4 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.4904/0.4904, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.628/1.628, allocations: 223.1 MB / 354.3 MB, free: 10.48 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.001064/0.001063, allocations: 104.2 kB / 427.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 11.98 kB / 0.4983 GB, free: 42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1555, allocations: 72.3 MB / 0.5689 GB, free: 1.633 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.82/11.97, allocations: 4.361 GB / 4.93 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/11.97, allocations: 91.89 kB / 4.93 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.4526/12.43, allocations: 47.13 MB / 4.976 GB, free: 202.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.865e-06/12.43, allocations: 0 / 4.976 GB, free: 202.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.823e-06/12.43, allocations: 1.219 kB / 4.976 GB, free: 202.3 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.0003109/12.43, allocations: 341.8 kB / 4.977 GB, free: 202 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/12.43, allocations: 10.03 kB / 4.977 GB, free: 202 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/12.43, allocations: 31.78 kB / 4.977 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/12.43, allocations: 20.41 kB / 4.977 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.543e-05/12.43, allocations: 166.6 kB / 4.977 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/12.43, allocations: 30.25 kB / 4.977 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/12.43, allocations: 1.344 kB / 4.977 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/12.43, allocations: 52.69 kB / 4.977 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/12.43, allocations: 3.797 kB / 4.977 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/12.43, allocations: 3.938 kB / 4.977 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/12.43, allocations: 9.797 kB / 4.977 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.601e-05/12.43, allocations: 18.59 kB / 4.977 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/12.43, allocations: 249.8 kB / 4.977 GB, free: 201.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/12.43, allocations: 24.28 kB / 4.977 GB, free: 201.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/12.43, allocations: 0 / 4.977 GB, free: 201.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/12.43, allocations: 35.77 kB / 4.977 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.884e-06/12.43, allocations: 0 / 4.977 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/12.43, allocations: 38.95 kB / 4.977 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/12.43, allocations: 55.94 kB / 4.977 GB, free: 201.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/12.43, allocations: 99.86 kB / 4.978 GB, free: 201.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/12.43, allocations: 25.83 kB / 4.978 GB, free: 201.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/12.43, allocations: 97.31 kB / 4.978 GB, free: 201 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/12.43, allocations: 5.031 kB / 4.978 GB, free: 201 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/12.43, allocations: 0 / 4.978 GB, free: 201 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.198e-05/12.43, allocations: 316.2 kB / 4.978 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/12.43, allocations: 6.625 kB / 4.978 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/12.43, allocations: 18.95 kB / 4.978 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/12.43, allocations: 16.8 kB / 4.978 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/12.43, allocations: 0.5 kB / 4.978 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.475e-05/12.43, allocations: 55.06 kB / 4.978 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/12.43, allocations: 5.75 kB / 4.978 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/12.43, allocations: 4.547 kB / 4.978 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/12.43, allocations: 1.188 kB / 4.978 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/12.43, allocations: 5.656 kB / 4.978 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/12.43, allocations: 1.062 kB / 4.978 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/12.43, allocations: 10.91 kB / 4.978 GB, free: 200.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/12.43, allocations: 1.688 kB / 4.978 GB, free: 200.6 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 6.43e-05/12.43, allocations: 108.1 kB / 4.978 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/12.43, allocations: 1.531 kB / 4.978 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/12.43, allocations: 11.94 kB / 4.978 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/12.43, allocations: 4.516 kB / 4.978 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/12.43, allocations: 0.5 kB / 4.978 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/12.43, allocations: 1.406 kB / 4.978 GB, free: 200.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/12.43, allocations: 347.7 kB / 4.979 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/12.43, allocations: 0 / 4.979 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/12.43, allocations: 5.641 kB / 4.979 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/12.43, allocations: 3.953 kB / 4.979 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/12.43, allocations: 5.469 kB / 4.979 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/12.43, allocations: 0 / 4.979 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/12.43, allocations: 0 / 4.979 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/12.43, allocations: 66.45 kB / 4.979 GB, free: 200 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/12.43, allocations: 81.83 kB / 4.979 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/12.43, allocations: 3.953 kB / 4.979 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/12.43, allocations: 2.875 kB / 4.979 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/12.43, allocations: 1.469 kB / 4.979 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/12.43, allocations: 0 / 4.979 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.831e-05/12.43, allocations: 83.11 kB / 4.979 GB, free: 199.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/12.43, allocations: 0 / 4.979 GB, free: 199.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003491/12.43, allocations: 42.77 kB / 4.979 GB, free: 199.8 MB / 0.6042 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0009154/12.43, allocations: 1.067 MB / 4.98 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.815e-05/12.43, allocations: 12.97 kB / 4.98 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/12.43, allocations: 0 / 4.98 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/12.43, allocations: 2 kB / 4.98 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/12.43, allocations: 17.86 kB / 4.98 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/12.43, allocations: 153 kB / 4.98 GB, free: 198.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/12.43, allocations: 0.6773 MB / 4.981 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.114e-05/12.43, allocations: 13.77 kB / 4.981 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/12.43, allocations: 8.75 kB / 4.981 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of SimCode: time 4.709e-06/12.43, allocations: 3.938 kB / 4.981 GB, free: 198.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/12.46, allocations: 10.57 MB / 4.991 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/12.46, allocations: 205.1 kB / 4.991 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/14.48, allocations: 3.625 kB / 4.991 GB, free: 197.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)