Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.001733/0.001733, allocations: 172.5 kB / 7.647 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.8308/0.8308, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.614/1.614, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0009476/0.0009477, allocations: 102 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.861e-05, allocations: 3.938 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5294, allocations: 82.29 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.84/12.37, allocations: 4.37 GB / 5.004 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/12.37, allocations: 83.95 kB / 5.004 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08189/12.45, allocations: 46.29 MB / 5.049 GB, free: 42.42 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/12.45, allocations: 0 / 5.049 GB, free: 42.42 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.272e-06/12.45, allocations: 0 / 5.049 GB, free: 42.42 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.0002531/12.45, allocations: 334.4 kB / 5.05 GB, free: 42.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/12.45, allocations: 12.03 kB / 5.05 GB, free: 42.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/12.45, allocations: 19.89 kB / 5.05 GB, free: 42.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/12.45, allocations: 167.1 kB / 5.05 GB, free: 41.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/12.45, allocations: 25.7 kB / 5.05 GB, free: 41.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/12.45, allocations: 4 kB / 5.05 GB, free: 41.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.431e-05/12.45, allocations: 23.97 kB / 5.05 GB, free: 41.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.979e-05/12.45, allocations: 49.58 kB / 5.05 GB, free: 41.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/12.45, allocations: 3.938 kB / 5.05 GB, free: 41.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/12.45, allocations: 0 / 5.05 GB, free: 41.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/12.45, allocations: 4 kB / 5.05 GB, free: 41.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/12.45, allocations: 241.5 kB / 5.05 GB, free: 41.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.739e-05/12.46, allocations: 14.58 kB / 5.05 GB, free: 41.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/12.46, allocations: 9.125 kB / 5.05 GB, free: 41.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/12.46, allocations: 0 / 5.05 GB, free: 41.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/12.46, allocations: 34.62 kB / 5.05 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/12.46, allocations: 4 kB / 5.05 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001426/12.46, allocations: 33.64 kB / 5.05 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/12.46, allocations: 51.41 kB / 5.05 GB, free: 41.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/12.46, allocations: 104.9 kB / 5.05 GB, free: 41.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/12.46, allocations: 25.7 kB / 5.05 GB, free: 41.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/12.46, allocations: 91.95 kB / 5.051 GB, free: 41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/12.46, allocations: 0 / 5.051 GB, free: 41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/12.46, allocations: 0 / 5.051 GB, free: 41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.204e-05/12.46, allocations: 322.9 kB / 5.051 GB, free: 40.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/12.46, allocations: 0 / 5.051 GB, free: 40.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/12.46, allocations: 22.58 kB / 5.051 GB, free: 40.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.908e-05/12.46, allocations: 8 kB / 5.051 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/12.46, allocations: 4 kB / 5.051 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.523e-05/12.46, allocations: 53.69 kB / 5.051 GB, free: 40.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/12.46, allocations: 13.83 kB / 5.051 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/12.46, allocations: 0 / 5.051 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/12.46, allocations: 0 / 5.051 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/12.46, allocations: 4 kB / 5.051 GB, free: 40.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/12.46, allocations: 7.984 kB / 5.051 GB, free: 40.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/12.46, allocations: 3.906 kB / 5.051 GB, free: 40.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/12.46, allocations: 7.938 kB / 5.051 GB, free: 40.54 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 5.506e-05/12.46, allocations: 104.9 kB / 5.051 GB, free: 40.43 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.127e-05/12.46, allocations: 33.73 kB / 5.051 GB, free: 40.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/12.46, allocations: 7.953 kB / 5.051 GB, free: 40.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/12.46, allocations: 3.75 kB / 5.051 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/12.46, allocations: 3.938 kB / 5.051 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/12.46, allocations: 256 / 5.051 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/12.46, allocations: 0 / 5.051 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/12.46, allocations: 335.2 kB / 5.051 GB, free: 40 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/12.46, allocations: 0 / 5.051 GB, free: 40 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/12.46, allocations: 4 kB / 5.051 GB, free: 40 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/12.46, allocations: 4.062 kB / 5.051 GB, free: 40 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/12.46, allocations: 0 / 5.051 GB, free: 40 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/12.46, allocations: 0 / 5.051 GB, free: 40 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/12.46, allocations: 0 / 5.051 GB, free: 40 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.235e-05/12.46, allocations: 65.03 kB / 5.052 GB, free: 39.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/12.46, allocations: 81.06 kB / 5.052 GB, free: 39.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/12.46, allocations: 0 / 5.052 GB, free: 39.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/12.46, allocations: 8.031 kB / 5.052 GB, free: 39.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/12.46, allocations: 0 / 5.052 GB, free: 39.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/12.46, allocations: 0 / 5.052 GB, free: 39.81 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.605e-05/12.46, allocations: 87.27 kB / 5.052 GB, free: 39.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/12.46, allocations: 0 / 5.052 GB, free: 39.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002926/12.46, allocations: 31.98 kB / 5.052 GB, free: 39.69 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.0008598/12.46, allocations: 1.153 MB / 5.053 GB, free: 38.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.144e-05/12.46, allocations: 8 kB / 5.053 GB, free: 38.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/12.46, allocations: 0 / 5.053 GB, free: 38.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-06/12.46, allocations: 8.125 kB / 5.053 GB, free: 38.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/12.46, allocations: 7.984 kB / 5.053 GB, free: 38.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/12.46, allocations: 94.02 kB / 5.053 GB, free: 38.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/12.46, allocations: 0.6807 MB / 5.054 GB, free: 37.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.673e-05/12.46, allocations: 4 kB / 5.054 GB, free: 37.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/12.46, allocations: 17.31 kB / 5.054 GB, free: 37.64 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/12.46, allocations: 0 / 5.054 GB, free: 37.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/12.48, allocations: 5.443 MB / 5.059 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/12.48, allocations: 158.3 kB / 5.059 GB, free: 32.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/14.24, allocations: 4.031 kB / 5.059 GB, free: 32.01 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)