Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_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.001468/0.001468, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8758/0.8758, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.5 MB / 395.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 99.53 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.379e-05, allocations: 3.938 kB / 0.5535 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5302, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.05/11.58, allocations: 4.37 GB / 5.004 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/11.58, allocations: 85.8 kB / 5.004 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08722/11.66, allocations: 46.29 MB / 5.049 GB, free: 41.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/11.66, allocations: 4 kB / 5.049 GB, free: 41.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.536e-06/11.66, allocations: 4 kB / 5.049 GB, free: 41.6 MB / 0.6823 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.000403/11.66, allocations: 330.5 kB / 5.05 GB, free: 41.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/11.66, allocations: 8.031 kB / 5.05 GB, free: 41.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/11.66, allocations: 19.89 kB / 5.05 GB, free: 41.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/11.66, allocations: 163 kB / 5.05 GB, free: 41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.801e-05/11.66, allocations: 33.69 kB / 5.05 GB, free: 40.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/11.66, allocations: 4 kB / 5.05 GB, free: 40.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/11.66, allocations: 19.94 kB / 5.05 GB, free: 40.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/11.66, allocations: 45.62 kB / 5.05 GB, free: 40.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/11.66, allocations: 0 / 5.05 GB, free: 40.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/11.66, allocations: 0 / 5.05 GB, free: 40.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/11.66, allocations: 4 kB / 5.05 GB, free: 40.89 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/11.67, allocations: 237.5 kB / 5.05 GB, free: 40.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/11.67, allocations: 18.52 kB / 5.05 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/11.67, allocations: 13.19 kB / 5.05 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/11.67, allocations: 3.984 kB / 5.05 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/11.67, allocations: 34.56 kB / 5.05 GB, free: 40.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/11.67, allocations: 0 / 5.05 GB, free: 40.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.000158/11.67, allocations: 29.7 kB / 5.05 GB, free: 40.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/11.67, allocations: 55.44 kB / 5.05 GB, free: 40.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/11.67, allocations: 108.9 kB / 5.05 GB, free: 40.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/11.67, allocations: 25.7 kB / 5.05 GB, free: 40.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/11.67, allocations: 87.95 kB / 5.051 GB, free: 40.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/11.67, allocations: 4 kB / 5.051 GB, free: 40.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/11.67, allocations: 3.938 kB / 5.051 GB, free: 40.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/11.67, allocations: 314.8 kB / 5.051 GB, free: 39.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/11.67, allocations: 7.938 kB / 5.051 GB, free: 39.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/11.67, allocations: 26.56 kB / 5.051 GB, free: 39.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/11.67, allocations: 12 kB / 5.051 GB, free: 39.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/11.67, allocations: 0 / 5.051 GB, free: 39.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001193/11.67, allocations: 45.62 kB / 5.051 GB, free: 39.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/11.67, allocations: 11.95 kB / 5.051 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/11.67, allocations: 0 / 5.051 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/11.67, allocations: 4.094 kB / 5.051 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/11.67, allocations: 8 kB / 5.051 GB, free: 39.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/11.67, allocations: 0 / 5.051 GB, free: 39.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/11.67, allocations: 3.906 kB / 5.051 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/11.67, allocations: 4 kB / 5.051 GB, free: 39.73 MB / 0.6823 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 7.371e-05/11.67, allocations: 101 kB / 5.051 GB, free: 39.62 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.913e-05/11.67, allocations: 45.62 kB / 5.051 GB, free: 39.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/11.67, allocations: 3.953 kB / 5.051 GB, free: 39.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/11.67, allocations: 7.688 kB / 5.051 GB, free: 39.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/11.67, allocations: 4.031 kB / 5.051 GB, free: 39.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/11.67, allocations: 0 / 5.051 GB, free: 39.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/11.67, allocations: 4 kB / 5.051 GB, free: 39.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/11.67, allocations: 323.3 kB / 5.051 GB, free: 39.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/11.67, allocations: 3.984 kB / 5.051 GB, free: 39.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/11.67, allocations: 4 kB / 5.051 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/11.67, allocations: 0 / 5.051 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/11.67, allocations: 0 / 5.051 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/11.67, allocations: 4.031 kB / 5.051 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/11.67, allocations: 0 / 5.051 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.256e-05/11.67, allocations: 60.98 kB / 5.052 GB, free: 39.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/11.67, allocations: 81.06 kB / 5.052 GB, free: 39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/11.67, allocations: 3.984 kB / 5.052 GB, free: 39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/11.67, allocations: 4 kB / 5.052 GB, free: 39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/11.67, allocations: 0 / 5.052 GB, free: 39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/11.67, allocations: 4.031 kB / 5.052 GB, free: 38.99 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.866e-05/11.67, allocations: 87.28 kB / 5.052 GB, free: 38.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/11.67, allocations: 0 / 5.052 GB, free: 38.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00029/11.67, allocations: 31.98 kB / 5.052 GB, free: 38.88 MB / 0.6823 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.001011/11.67, allocations: 1.157 MB / 5.053 GB, free: 37.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.685e-05/11.67, allocations: 8 kB / 5.053 GB, free: 37.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/11.67, allocations: 0 / 5.053 GB, free: 37.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/11.67, allocations: 4 kB / 5.053 GB, free: 37.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/11.67, allocations: 4.25 kB / 5.053 GB, free: 37.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/11.67, allocations: 102 kB / 5.053 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/11.67, allocations: 0.6768 MB / 5.054 GB, free: 36.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.002e-05/11.67, allocations: 11.92 kB / 5.054 GB, free: 36.83 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/11.67, allocations: 11.38 kB / 5.054 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/11.67, allocations: 0 / 5.054 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/11.7, allocations: 5.429 MB / 5.059 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/11.7, allocations: 163.5 kB / 5.059 GB, free: 31.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/13.62, allocations: 0 / 5.059 GB, free: 31.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)