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.009444/0.009444, allocations: 169.4 kB / 15.12 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8042/0.8042, allocations: 135.2 MB / 151 MB, free: 13.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.704/1.704, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009485/0.0009485, allocations: 100.1 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004523, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5426, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.21/12.76, allocations: 4.371 GB / 5.02 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/12.76, allocations: 88.19 kB / 5.021 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08241/12.84, allocations: 47.13 MB / 5.067 GB, free: 94.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.484e-06/12.84, allocations: 0 / 5.067 GB, free: 94.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.352e-06/12.84, allocations: 0 / 5.067 GB, free: 94.34 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.0003161/12.84, allocations: 337.6 kB / 5.067 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/12.84, allocations: 12.02 kB / 5.067 GB, free: 93.95 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/12.84, allocations: 37 kB / 5.067 GB, free: 93.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/12.84, allocations: 23.98 kB / 5.067 GB, free: 93.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/12.84, allocations: 163 kB / 5.067 GB, free: 93.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/12.84, allocations: 29.7 kB / 5.067 GB, free: 93.65 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/12.84, allocations: 0 / 5.067 GB, free: 93.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/12.84, allocations: 54.38 kB / 5.067 GB, free: 93.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/12.84, allocations: 0 / 5.067 GB, free: 93.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/12.84, allocations: 0 / 5.067 GB, free: 93.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/12.84, allocations: 4 kB / 5.067 GB, free: 93.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/12.84, allocations: 19.8 kB / 5.067 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/12.84, allocations: 257.6 kB / 5.067 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.528e-05/12.84, allocations: 18.83 kB / 5.067 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/12.84, allocations: 7.922 kB / 5.067 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/12.84, allocations: 42.56 kB / 5.067 GB, free: 93.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/12.84, allocations: 0 / 5.067 GB, free: 93.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001234/12.84, allocations: 40.78 kB / 5.068 GB, free: 93.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/12.84, allocations: 55.34 kB / 5.068 GB, free: 93.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/12.84, allocations: 100.6 kB / 5.068 GB, free: 92.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/12.84, allocations: 25.7 kB / 5.068 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/12.84, allocations: 92.03 kB / 5.068 GB, free: 92.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/12.84, allocations: 128 / 5.068 GB, free: 92.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/12.84, allocations: 5.25 kB / 5.068 GB, free: 92.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/12.84, allocations: 313.3 kB / 5.068 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/12.84, allocations: 4 kB / 5.068 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/12.84, allocations: 24.06 kB / 5.068 GB, free: 92.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/12.84, allocations: 10 kB / 5.068 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/12.84, allocations: 0 / 5.068 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.402e-05/12.84, allocations: 65.11 kB / 5.068 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/12.84, allocations: 8 kB / 5.068 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/12.84, allocations: 0 / 5.068 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/12.84, allocations: 0 / 5.068 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/12.84, allocations: 9.812 kB / 5.068 GB, free: 92.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/12.84, allocations: 3.938 kB / 5.068 GB, free: 92.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/12.84, allocations: 0 / 5.068 GB, free: 92.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/12.84, allocations: 4 kB / 5.068 GB, free: 92.41 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 5.381e-05/12.84, allocations: 116.4 kB / 5.068 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/12.84, allocations: 7.953 kB / 5.068 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/12.84, allocations: 3.125 kB / 5.068 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/12.84, allocations: 0 / 5.068 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/12.84, allocations: 0 / 5.068 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/12.84, allocations: 0 / 5.068 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/12.84, allocations: 343.6 kB / 5.069 GB, free: 91.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/12.84, allocations: 0 / 5.069 GB, free: 91.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/12.84, allocations: 12.02 kB / 5.069 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/12.84, allocations: 0 / 5.069 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/12.84, allocations: 3.938 kB / 5.069 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/12.84, allocations: 0 / 5.069 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/12.84, allocations: 3.938 kB / 5.069 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.057e-05/12.84, allocations: 66.44 kB / 5.069 GB, free: 91.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/12.84, allocations: 77.11 kB / 5.069 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/12.84, allocations: 7.984 kB / 5.069 GB, free: 91.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/12.84, allocations: 8.031 kB / 5.069 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/12.84, allocations: 0 / 5.069 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/12.84, allocations: 4 kB / 5.069 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.984e-05/12.84, allocations: 85.27 kB / 5.069 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/12.84, allocations: 3.938 kB / 5.069 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003388/12.84, allocations: 35.5 kB / 5.069 GB, free: 91.57 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.0006921/12.84, allocations: 1.069 MB / 5.07 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.948e-05/12.84, allocations: 8.125 kB / 5.07 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/12.84, allocations: 4.062 kB / 5.07 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.802e-06/12.84, allocations: 10.36 kB / 5.07 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/12.84, allocations: 6.578 kB / 5.07 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/12.84, allocations: 148.9 kB / 5.07 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/12.84, allocations: 0.677 MB / 5.071 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.694e-05/12.84, allocations: 12.05 kB / 5.071 GB, free: 89.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/12.84, allocations: 7.438 kB / 5.071 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of SimCode: time 4.8e-07/12.84, allocations: 0 / 5.071 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/12.87, allocations: 10.57 MB / 5.081 GB, free: 79.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/12.87, allocations: 202 kB / 5.081 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/14.8, allocations: 0 / 5.081 GB, free: 78.93 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)