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.001527/0.001527, allocations: 174.1 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.7991/0.7991, 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.841/1.841, allocations: 221.3 MB / 400.4 MB, free: 5.875 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.001039/0.001039, allocations: 94.7 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.867e-05, allocations: 2.375 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1913, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.44/11.63, allocations: 4.371 GB / 5.011 GB, free: 234.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/11.63, allocations: 79.95 kB / 5.011 GB, free: 234.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08869/11.72, allocations: 47.04 MB / 5.057 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.824e-06/11.72, allocations: 0 / 5.057 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.414e-06/11.72, allocations: 0 / 5.057 GB, free: 187.1 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.0003254/11.72, allocations: 341.1 kB / 5.058 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/11.72, allocations: 12.03 kB / 5.058 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/11.72, allocations: 34.56 kB / 5.058 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/11.72, allocations: 19.89 kB / 5.058 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.353e-05/11.72, allocations: 159.1 kB / 5.058 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/11.72, allocations: 25.7 kB / 5.058 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/11.72, allocations: 11.92 kB / 5.058 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/11.72, allocations: 49.58 kB / 5.058 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/11.72, allocations: 0 / 5.058 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/11.72, allocations: 4 kB / 5.058 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/11.72, allocations: 4 kB / 5.058 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/11.72, allocations: 19.98 kB / 5.058 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/11.72, allocations: 256.9 kB / 5.058 GB, free: 186 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.236e-05/11.72, allocations: 14.58 kB / 5.058 GB, free: 186 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/11.72, allocations: 16.86 kB / 5.058 GB, free: 186 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/11.72, allocations: 0 / 5.058 GB, free: 186 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/11.72, allocations: 34.56 kB / 5.058 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/11.72, allocations: 0 / 5.058 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/11.72, allocations: 29.7 kB / 5.058 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/11.72, allocations: 51.41 kB / 5.058 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/11.72, allocations: 104.9 kB / 5.058 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/11.72, allocations: 25.7 kB / 5.059 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/11.72, allocations: 95.98 kB / 5.059 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-06/11.72, allocations: 0 / 5.059 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-06/11.72, allocations: 0 / 5.059 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.35e-05/11.72, allocations: 314.8 kB / 5.059 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/11.72, allocations: 4 kB / 5.059 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/11.72, allocations: 26.5 kB / 5.059 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.5e-05/11.72, allocations: 16 kB / 5.059 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/11.72, allocations: 0 / 5.059 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.476e-05/11.72, allocations: 57.58 kB / 5.059 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/11.72, allocations: 5.094 kB / 5.059 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/11.72, allocations: 3.938 kB / 5.059 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/11.72, allocations: 4 kB / 5.059 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/11.72, allocations: 4 kB / 5.059 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/11.72, allocations: 0 / 5.059 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/11.72, allocations: 12 kB / 5.059 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/11.72, allocations: 0 / 5.059 GB, free: 185.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.779e-05/11.72, allocations: 109 kB / 5.059 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/11.72, allocations: 3.953 kB / 5.059 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/11.72, allocations: 11.06 kB / 5.059 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/11.72, allocations: 0 / 5.059 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/11.72, allocations: 0 / 5.059 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/11.72, allocations: 7.938 kB / 5.059 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/11.72, allocations: 347 kB / 5.059 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/11.72, allocations: 0 / 5.059 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/11.72, allocations: 7.984 kB / 5.059 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/11.72, allocations: 0 / 5.059 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/11.72, allocations: 0 / 5.059 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/11.72, allocations: 3.984 kB / 5.059 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/11.72, allocations: 4 kB / 5.06 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.715e-05/11.72, allocations: 61.16 kB / 5.06 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/11.72, allocations: 93 kB / 5.06 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/11.72, allocations: 3.984 kB / 5.06 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/11.72, allocations: 4 kB / 5.06 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/11.72, allocations: 0 / 5.06 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/11.72, allocations: 0 / 5.06 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.901e-05/11.72, allocations: 79.28 kB / 5.06 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/11.72, allocations: 0 / 5.06 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003083/11.72, allocations: 43.98 kB / 5.06 GB, free: 184.3 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.0007998/11.72, allocations: 1.059 MB / 5.061 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.512e-05/11.72, allocations: 15.94 kB / 5.061 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/11.72, allocations: 0 / 5.061 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/11.72, allocations: 0 / 5.061 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/11.72, allocations: 5.5 kB / 5.061 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/11.72, allocations: 98.95 kB / 5.061 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/11.72, allocations: 0.685 MB / 5.062 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.872e-05/11.72, allocations: 11.98 kB / 5.062 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/11.72, allocations: 7.438 kB / 5.062 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/11.72, allocations: 3.938 kB / 5.062 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/11.75, allocations: 12.35 MB / 5.074 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/11.75, allocations: 180.2 kB / 5.074 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/13.98, allocations: 4 kB / 5.074 GB, free: 169.8 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)