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.001072/0.001072, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4913/0.4913, allocations: 90.91 MB / 99.34 MB, free: 2.219 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.438/1.438, allocations: 221.5 MB / 343.2 MB, free: 1.598 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.000873/0.0008732, allocations: 97.28 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.747e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 72.3 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.36/10.52, allocations: 4.361 GB / 4.914 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/10.53, allocations: 84.94 kB / 4.914 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.08157/10.61, allocations: 46.28 MB / 4.96 GB, free: 92.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/10.61, allocations: 0 / 4.96 GB, free: 92.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.081e-06/10.61, allocations: 4 kB / 4.96 GB, free: 92.87 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.00025/10.61, allocations: 343.6 kB / 4.96 GB, free: 92.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/10.61, allocations: 12.03 kB / 4.96 GB, free: 92.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/10.61, allocations: 19.98 kB / 4.96 GB, free: 92.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/10.61, allocations: 159.1 kB / 4.96 GB, free: 92.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/10.61, allocations: 33.66 kB / 4.96 GB, free: 92.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/10.61, allocations: 0 / 4.96 GB, free: 92.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.313e-05/10.61, allocations: 23.98 kB / 4.96 GB, free: 92.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.797e-05/10.61, allocations: 45.62 kB / 4.96 GB, free: 92.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/10.61, allocations: 3.938 kB / 4.96 GB, free: 92.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/10.61, allocations: 0 / 4.96 GB, free: 92.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/10.61, allocations: 3.984 kB / 4.96 GB, free: 92.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/10.61, allocations: 233.5 kB / 4.96 GB, free: 91.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.007e-05/10.61, allocations: 22.58 kB / 4.96 GB, free: 91.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/10.61, allocations: 5.172 kB / 4.96 GB, free: 91.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/10.61, allocations: 0 / 4.96 GB, free: 91.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/10.61, allocations: 30.61 kB / 4.96 GB, free: 91.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/10.61, allocations: 0 / 4.96 GB, free: 91.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001109/10.61, allocations: 45.59 kB / 4.96 GB, free: 91.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/10.61, allocations: 55.41 kB / 4.961 GB, free: 91.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/10.61, allocations: 100.9 kB / 4.961 GB, free: 91.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/10.61, allocations: 25.7 kB / 4.961 GB, free: 91.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/10.61, allocations: 96.03 kB / 4.961 GB, free: 91.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/10.61, allocations: 0 / 4.961 GB, free: 91.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/10.61, allocations: 0 / 4.961 GB, free: 91.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.24e-05/10.61, allocations: 310.8 kB / 4.961 GB, free: 91.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/10.61, allocations: 8 kB / 4.961 GB, free: 91.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/10.61, allocations: 18.58 kB / 4.961 GB, free: 91.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.006e-05/10.61, allocations: 19.94 kB / 4.961 GB, free: 91.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/10.61, allocations: 0 / 4.961 GB, free: 91.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.252e-05/10.61, allocations: 53.55 kB / 4.961 GB, free: 91.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/10.61, allocations: 7.984 kB / 4.961 GB, free: 91.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/10.61, allocations: 4 kB / 4.961 GB, free: 91.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/10.61, allocations: 0 / 4.961 GB, free: 91.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/10.61, allocations: 4.094 kB / 4.961 GB, free: 91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/10.61, allocations: 8 kB / 4.961 GB, free: 91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/10.61, allocations: 0 / 4.961 GB, free: 91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-06/10.61, allocations: 0 / 4.961 GB, free: 91 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 () * 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 4.401e-05/10.61, allocations: 112.9 kB / 4.961 GB, free: 90.88 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.8e-05/10.61, allocations: 29.7 kB / 4.961 GB, free: 90.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/10.61, allocations: 3.984 kB / 4.961 GB, free: 90.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.707e-05/10.61, allocations: 15.83 kB / 4.961 GB, free: 90.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/10.61, allocations: 0 / 4.961 GB, free: 90.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/10.61, allocations: 4.031 kB / 4.961 GB, free: 90.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/10.61, allocations: 0 / 4.961 GB, free: 90.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/10.61, allocations: 327.2 kB / 4.962 GB, free: 90.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/10.61, allocations: 0 / 4.962 GB, free: 90.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/10.61, allocations: 4 kB / 4.962 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/10.61, allocations: 4 kB / 4.962 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/10.61, allocations: 0 / 4.962 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/10.61, allocations: 8.172 kB / 4.962 GB, free: 90.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/10.61, allocations: 0 / 4.962 GB, free: 90.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.311e-05/10.61, allocations: 61.12 kB / 4.962 GB, free: 90.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/10.61, allocations: 81.11 kB / 4.962 GB, free: 90.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/10.61, allocations: 0 / 4.962 GB, free: 90.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/10.61, allocations: 7.984 kB / 4.962 GB, free: 90.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-06/10.61, allocations: 3.938 kB / 4.962 GB, free: 90.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/10.61, allocations: 0 / 4.962 GB, free: 90.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.443e-05/10.61, allocations: 87.31 kB / 4.962 GB, free: 90.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/10.61, allocations: 0 / 4.962 GB, free: 90.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002353/10.61, allocations: 35.98 kB / 4.962 GB, free: 90.13 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 () * 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.0006987/10.61, allocations: 1.152 MB / 4.963 GB, free: 88.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.794e-05/10.61, allocations: 8 kB / 4.963 GB, free: 88.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/10.61, allocations: 0 / 4.963 GB, free: 88.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/10.61, allocations: 3.938 kB / 4.963 GB, free: 88.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/10.61, allocations: 8 kB / 4.963 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/10.61, allocations: 85.84 kB / 4.963 GB, free: 88.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/10.61, allocations: 0.6807 MB / 4.964 GB, free: 88.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.565e-05/10.61, allocations: 11.84 kB / 4.964 GB, free: 88.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/10.61, allocations: 11.44 kB / 4.964 GB, free: 88.08 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/10.61, allocations: 0 / 4.964 GB, free: 88.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/10.64, allocations: 5.427 MB / 4.969 GB, free: 82.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/10.64, allocations: 169.8 kB / 4.969 GB, free: 82.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/12.27, allocations: 0 / 4.969 GB, free: 82.45 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)