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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008652/0.0008652, allocations: 86.88 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9993/0.9993, allocations: 135.3 MB / 426.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003651, allocations: 8.75 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 82.3 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5927/0.8019, allocations: 134 MB / 0.7184 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.8022, allocations: 53.58 kB / 0.7184 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.8022, allocations: 0 / 0.7184 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.8024, allocations: 2.406 kB / 0.7184 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.8025, allocations: 10 kB / 0.7184 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.803, allocations: 87.42 kB / 0.7185 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.8032, allocations: 42.95 kB / 0.7185 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.39e-05/0.8032, allocations: 5.844 kB / 0.7186 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.8033, allocations: 22.56 kB / 0.7186 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.8034, allocations: 14.14 kB / 0.7186 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.8034, allocations: 1.656 kB / 0.7186 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.8037, allocations: 50.7 kB / 0.7186 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.8038, allocations: 5.234 kB / 0.7186 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.8038, allocations: 28.86 kB / 0.7187 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.804, allocations: 32.09 kB / 0.7187 GB, free: 11.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.804, allocations: 0 / 0.7187 GB, free: 11.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.939e-06/0.804, allocations: 1.438 kB / 0.7187 GB, free: 11.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.804, allocations: 7.938 kB / 0.7187 GB, free: 11.89 MB / 0.545 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.0004594/0.8045, allocations: 332.6 kB / 0.719 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.8045, allocations: 9.531 kB / 0.719 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.8046, allocations: 32.81 kB / 0.7191 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.805, allocations: 20.34 kB / 0.7191 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.8051, allocations: 162.4 kB / 0.7192 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.8052, allocations: 37.77 kB / 0.7193 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.8052, allocations: 2.203 kB / 0.7193 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.8054, allocations: 51.88 kB / 0.7193 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8054, allocations: 0 / 0.7193 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.8054, allocations: 0 / 0.7193 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.8055, allocations: 6.516 kB / 0.7193 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.8055, allocations: 21.78 kB / 0.7194 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.806, allocations: 258.4 kB / 0.7196 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.16e-05/0.806, allocations: 16.62 kB / 0.7196 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.8061, allocations: 7.734 kB / 0.7196 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.8061, allocations: 0 / 0.7196 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.8061, allocations: 35.08 kB / 0.7197 GB, free: 10.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.8061, allocations: 1.031 kB / 0.7197 GB, free: 10.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001525/0.8063, allocations: 44.05 kB / 0.7197 GB, free: 10.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.8063, allocations: 52.62 kB / 0.7198 GB, free: 10.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.8064, allocations: 108.9 kB / 0.7199 GB, free: 10.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.8065, allocations: 33.3 kB / 0.7199 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.8065, allocations: 90.83 kB / 0.72 GB, free: 10.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.8065, allocations: 5.547 kB / 0.72 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.8065, allocations: 0 / 0.72 GB, free: 10.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8067, allocations: 317.6 kB / 0.7203 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.8067, allocations: 7.547 kB / 0.7203 GB, free: 10.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.8067, allocations: 21.84 kB / 0.7203 GB, free: 10.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.8068, allocations: 12.78 kB / 0.7203 GB, free: 10.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8068, allocations: 2.141 kB / 0.7203 GB, free: 10.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.26e-05/0.8069, allocations: 51.55 kB / 0.7204 GB, free: 10.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.8069, allocations: 9.734 kB / 0.7204 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.8069, allocations: 5.609 kB / 0.7204 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8069, allocations: 2.031 kB / 0.7204 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.807, allocations: 9.281 kB / 0.7204 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.807, allocations: 1.812 kB / 0.7204 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.8071, allocations: 2.594 kB / 0.7204 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.8071, allocations: 1.094 kB / 0.7204 GB, free: 10.12 MB / 0.545 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 8.768e-05/0.8072, allocations: 114.2 kB / 0.7205 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.8072, allocations: 1.25 kB / 0.7205 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.8072, allocations: 8.812 kB / 0.7205 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.8072, allocations: 4.562 kB / 0.7205 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.8072, allocations: 1.062 kB / 0.7205 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8072, allocations: 0 / 0.7205 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.8075, allocations: 344.4 kB / 0.7209 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8075, allocations: 1.031 kB / 0.7209 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-05/0.8075, allocations: 5.625 kB / 0.7209 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8076, allocations: 1.031 kB / 0.7209 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.8076, allocations: 0 / 0.7209 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.8076, allocations: 5.344 kB / 0.7209 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8076, allocations: 0.6094 kB / 0.7209 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.311e-05/0.8077, allocations: 61.88 kB / 0.7209 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.8077, allocations: 79.23 kB / 0.721 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.8077, allocations: 7.938 kB / 0.721 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.8078, allocations: 9.703 kB / 0.721 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.8078, allocations: 1.922 kB / 0.721 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.8078, allocations: 4 kB / 0.721 GB, free: 9.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.8079, allocations: 90.52 kB / 0.7211 GB, free: 9.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8079, allocations: 0 / 0.7211 GB, free: 9.348 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002017/0.8081, allocations: 6.781 kB / 0.7211 GB, free: 9.348 MB / 0.545 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.0003638/0.8085, allocations: 0.5924 MB / 0.7217 GB, free: 8.754 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.697e-05/0.8086, allocations: 13.75 kB / 0.7217 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.8086, allocations: 0 / 0.7217 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-06/0.8086, allocations: 7.109 kB / 0.7217 GB, free: 8.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.8089, allocations: 6.859 kB / 0.7217 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.8093, allocations: 154.9 kB / 0.7219 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.8096, allocations: 0.6805 MB / 0.7225 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.018e-05/0.8097, allocations: 7.406 kB / 0.7225 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.8097, allocations: 12.69 kB / 0.7226 GB, free: 7.879 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.8097, allocations: 0 / 0.7226 GB, free: 7.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.8221, allocations: 1.157 MB / 0.7237 GB, free: 7.781 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.8224, allocations: 212 kB / 0.7239 GB, free: 7.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.593, allocations: 0 / 0.7239 GB, free: 7.547 MB / 0.545 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) Environment - environmentSimulation: