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.001101/0.001101, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7683/0.7683, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.759/1.759, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 91.88 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.24e-05/5.285e-05, allocations: 4.688 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2414, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.88/12.13, allocations: 4.371 GB / 5.011 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/12.13, allocations: 85.17 kB / 5.011 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08657/12.21, allocations: 47.03 MB / 5.057 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/12.21, allocations: 0 / 5.057 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.877e-06/12.21, allocations: 0 / 5.057 GB, free: 188.2 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.0002982/12.21, allocations: 335.3 kB / 5.058 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/12.21, allocations: 12.03 kB / 5.058 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/12.21, allocations: 30.56 kB / 5.058 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/12.21, allocations: 27.89 kB / 5.058 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/12.21, allocations: 163.1 kB / 5.058 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/12.21, allocations: 29.7 kB / 5.058 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/12.21, allocations: 3.938 kB / 5.058 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/12.21, allocations: 57.56 kB / 5.058 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/12.21, allocations: 0 / 5.058 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/12.21, allocations: 3.984 kB / 5.058 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/12.21, allocations: 4 kB / 5.058 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.44e-05/12.21, allocations: 19.98 kB / 5.058 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/12.21, allocations: 252.9 kB / 5.058 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.494e-05/12.21, allocations: 26.55 kB / 5.058 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/12.21, allocations: 4.859 kB / 5.058 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/12.21, allocations: 0 / 5.058 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/12.21, allocations: 34.56 kB / 5.058 GB, free: 187 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/12.21, allocations: 0 / 5.058 GB, free: 187 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001183/12.21, allocations: 33.77 kB / 5.058 GB, free: 187 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/12.21, allocations: 51.41 kB / 5.058 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/12.22, allocations: 104.9 kB / 5.058 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/12.22, allocations: 25.7 kB / 5.059 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/12.22, allocations: 95.89 kB / 5.059 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-06/12.22, allocations: 4.031 kB / 5.059 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/12.22, allocations: 0 / 5.059 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.399e-05/12.22, allocations: 314.8 kB / 5.059 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/12.22, allocations: 11.94 kB / 5.059 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/12.22, allocations: 22.56 kB / 5.059 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/12.22, allocations: 4 kB / 5.059 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/12.22, allocations: 4 kB / 5.059 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.21e-05/12.22, allocations: 57.58 kB / 5.059 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/12.22, allocations: 8 kB / 5.059 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/12.22, allocations: 0 / 5.059 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/12.22, allocations: 0 / 5.059 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/12.22, allocations: 8 kB / 5.059 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/12.22, allocations: 0 / 5.059 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/12.22, allocations: 3.906 kB / 5.059 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/12.22, allocations: 8 kB / 5.059 GB, free: 186.2 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 4.396e-05/12.22, allocations: 109 kB / 5.059 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/12.22, allocations: 7.938 kB / 5.059 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/12.22, allocations: 11.31 kB / 5.059 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/12.22, allocations: 0 / 5.059 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/12.22, allocations: 4 kB / 5.059 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/12.22, allocations: 0 / 5.059 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/12.22, allocations: 342.8 kB / 5.059 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/12.22, allocations: 4.031 kB / 5.059 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/12.22, allocations: 4 kB / 5.059 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/12.22, allocations: 3.984 kB / 5.059 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/12.22, allocations: 0 / 5.059 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/12.22, allocations: 0 / 5.059 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/12.22, allocations: 0 / 5.059 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.07e-05/12.22, allocations: 65.03 kB / 5.06 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/12.22, allocations: 81.02 kB / 5.06 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/12.22, allocations: 4.031 kB / 5.06 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/12.22, allocations: 7.984 kB / 5.06 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/12.22, allocations: 0 / 5.06 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/12.22, allocations: 0 / 5.06 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.762e-05/12.22, allocations: 87.28 kB / 5.06 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/12.22, allocations: 0 / 5.06 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003007/12.22, allocations: 39.98 kB / 5.06 GB, free: 185.4 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.0008465/12.22, allocations: 1.063 MB / 5.061 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.281e-05/12.22, allocations: 16 kB / 5.061 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/12.22, allocations: 0 / 5.061 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/12.22, allocations: 4 kB / 5.061 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/12.22, allocations: 5.438 kB / 5.061 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/12.22, allocations: 106.9 kB / 5.061 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/12.22, allocations: 0.677 MB / 5.062 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.769e-05/12.22, allocations: 16.22 kB / 5.062 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/12.22, allocations: 11.44 kB / 5.062 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/12.22, allocations: 4 kB / 5.062 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/12.24, allocations: 12.36 MB / 5.074 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/12.24, allocations: 170 kB / 5.074 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/14.28, allocations: 0 / 5.074 GB, free: 170.9 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)