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.01301/0.01301, allocations: 169.6 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7933/0.7933, allocations: 135.2 MB / 151 MB, free: 13.84 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.679/1.679, allocations: 223.2 MB / 406.8 MB, free: 3.254 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.0009878/0.0009883, allocations: 106.2 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004518, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5327, allocations: 82.32 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.08/12.61, allocations: 4.371 GB / 5.02 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/12.61, allocations: 86.27 kB / 5.02 GB, free: 242 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08326/12.69, allocations: 47.13 MB / 5.067 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.086e-06/12.69, allocations: 3.984 kB / 5.067 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.374e-06/12.69, allocations: 4 kB / 5.067 GB, free: 194.5 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.0003218/12.69, allocations: 339.2 kB / 5.067 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/12.69, allocations: 12.03 kB / 5.067 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/12.69, allocations: 34.56 kB / 5.067 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/12.69, allocations: 15.98 kB / 5.067 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.972e-05/12.69, allocations: 171 kB / 5.067 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/12.69, allocations: 29.69 kB / 5.067 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/12.69, allocations: 0 / 5.067 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/12.69, allocations: 49.64 kB / 5.067 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/12.69, allocations: 4 kB / 5.067 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/12.69, allocations: 4 kB / 5.067 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/12.69, allocations: 7.984 kB / 5.067 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/12.69, allocations: 19.92 kB / 5.067 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/12.69, allocations: 252.9 kB / 5.067 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.638e-05/12.69, allocations: 26.86 kB / 5.067 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/12.69, allocations: 7.938 kB / 5.067 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/12.69, allocations: 30.56 kB / 5.067 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/12.69, allocations: 0 / 5.067 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.000135/12.69, allocations: 41.67 kB / 5.068 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/12.69, allocations: 55.34 kB / 5.068 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/12.69, allocations: 104.9 kB / 5.068 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/12.69, allocations: 25.7 kB / 5.068 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/12.69, allocations: 88.17 kB / 5.068 GB, free: 193 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/12.69, allocations: 0 / 5.068 GB, free: 193 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/12.69, allocations: 0 / 5.068 GB, free: 193 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/12.69, allocations: 318.8 kB / 5.068 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/12.69, allocations: 3.984 kB / 5.068 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/12.69, allocations: 22.58 kB / 5.068 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/12.69, allocations: 16 kB / 5.068 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/12.69, allocations: 0 / 5.068 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.115e-05/12.69, allocations: 61.48 kB / 5.068 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/12.69, allocations: 4 kB / 5.068 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/12.69, allocations: 0 / 5.068 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/12.69, allocations: 4 kB / 5.068 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/12.69, allocations: 7.984 kB / 5.068 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/12.69, allocations: 7.938 kB / 5.068 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/12.69, allocations: 0 / 5.068 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/12.69, allocations: 4.094 kB / 5.068 GB, free: 192.5 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 () * Number of clocked 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 6.139e-05/12.69, allocations: 113.8 kB / 5.068 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/12.69, allocations: 3.953 kB / 5.068 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/12.69, allocations: 7.125 kB / 5.068 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/12.69, allocations: 0 / 5.068 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/12.69, allocations: 0 / 5.068 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/12.69, allocations: 0 / 5.068 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/12.69, allocations: 350.7 kB / 5.069 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/12.69, allocations: 0 / 5.069 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/12.69, allocations: 3.938 kB / 5.069 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/12.69, allocations: 4 kB / 5.069 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/12.69, allocations: 0 / 5.069 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/12.69, allocations: 0 / 5.069 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/12.69, allocations: 3.938 kB / 5.069 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.953e-05/12.69, allocations: 68.98 kB / 5.069 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/12.69, allocations: 81.17 kB / 5.069 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/12.69, allocations: 0 / 5.069 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/12.69, allocations: 8.188 kB / 5.069 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/12.69, allocations: 96 / 5.069 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/12.69, allocations: 4 kB / 5.069 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.714e-05/12.69, allocations: 87.27 kB / 5.069 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/12.69, allocations: 0 / 5.069 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003084/12.7, allocations: 43.98 kB / 5.069 GB, free: 191.7 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 () * Number of clocked 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.0007309/12.7, allocations: 1.058 MB / 5.07 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.172e-05/12.7, allocations: 19.98 kB / 5.07 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/12.7, allocations: 0 / 5.07 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.034e-06/12.7, allocations: 7.938 kB / 5.07 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/12.7, allocations: 4 kB / 5.07 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/12.7, allocations: 150.3 kB / 5.07 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/12.7, allocations: 0.6812 MB / 5.071 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.865e-05/12.7, allocations: 7.984 kB / 5.071 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/12.7, allocations: 11.44 kB / 5.071 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.81e-07/12.7, allocations: 0 / 5.071 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/12.72, allocations: 10.57 MB / 5.081 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/12.72, allocations: 197.4 kB / 5.081 GB, free: 179 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/14.6, allocations: 64 / 5.081 GB, free: 179 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)