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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 195.1 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6966/0.6966, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 60.75 kB / 0.5019 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1253, allocations: 80.19 MB / 0.5802 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3394/0.4647, allocations: 147.8 MB / 0.7246 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.4648, allocations: 50.97 kB / 0.7246 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.4649, allocations: 0 / 0.7246 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.844e-05/0.465, allocations: 6.438 kB / 0.7246 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.4651, allocations: 12.89 kB / 0.7246 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.4655, allocations: 111.3 kB / 0.7247 GB, free: 6.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.4655, allocations: 41.95 kB / 0.7248 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.973e-05/0.4656, allocations: 1.812 kB / 0.7248 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.4656, allocations: 12.8 kB / 0.7248 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.4657, allocations: 11.53 kB / 0.7248 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.4657, allocations: 4.844 kB / 0.7248 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.4659, allocations: 81.62 kB / 0.7249 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.466, allocations: 10.28 kB / 0.7249 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.466, allocations: 10.8 kB / 0.7249 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.4662, allocations: 82.03 kB / 0.725 GB, free: 6.172 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4662, allocations: 0 / 0.725 GB, free: 6.172 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4662, allocations: 0 / 0.725 GB, free: 6.172 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.4662, allocations: 1.031 kB / 0.725 GB, free: 6.172 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.0003275/0.4665, allocations: 340.6 kB / 0.7253 GB, free: 5.812 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.4665, allocations: 9.938 kB / 0.7253 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.4666, allocations: 35.69 kB / 0.7253 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.4668, allocations: 19.5 kB / 0.7254 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.581e-05/0.4669, allocations: 166.3 kB / 0.7255 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.4669, allocations: 32.75 kB / 0.7255 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.467, allocations: 1.906 kB / 0.7256 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.4671, allocations: 47.17 kB / 0.7256 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.4671, allocations: 3.938 kB / 0.7256 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4671, allocations: 0.9688 kB / 0.7256 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.4671, allocations: 3.031 kB / 0.7256 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.4672, allocations: 18.58 kB / 0.7256 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.4675, allocations: 265.6 kB / 0.7259 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.336e-05/0.4676, allocations: 15.56 kB / 0.7259 GB, free: 5.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.4676, allocations: 9.422 kB / 0.7259 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.4676, allocations: 0 / 0.7259 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.4677, allocations: 45.08 kB / 0.7259 GB, free: 5.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.4677, allocations: 0 / 0.7259 GB, free: 5.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001102/0.4678, allocations: 39.66 kB / 0.726 GB, free: 5.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.4678, allocations: 56.75 kB / 0.726 GB, free: 5.023 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.615e-05/0.4679, allocations: 104.3 kB / 0.7261 GB, free: 4.922 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.4679, allocations: 25.7 kB / 0.7262 GB, free: 4.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.468, allocations: 91.94 kB / 0.7262 GB, free: 4.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-06/0.468, allocations: 4.562 kB / 0.7262 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.468, allocations: 22.94 kB / 0.7263 GB, free: 4.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.4681, allocations: 311.8 kB / 0.7266 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.4681, allocations: 9.656 kB / 0.7266 GB, free: 4.457 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.4681, allocations: 24.59 kB / 0.7266 GB, free: 4.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.4682, allocations: 28.52 kB / 0.7266 GB, free: 4.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4682, allocations: 4 kB / 0.7266 GB, free: 4.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.387e-05/0.4683, allocations: 52.81 kB / 0.7267 GB, free: 4.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.4683, allocations: 8.312 kB / 0.7267 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4683, allocations: 1.281 kB / 0.7267 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.4683, allocations: 1.406 kB / 0.7267 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.4684, allocations: 12.78 kB / 0.7267 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4684, allocations: 5.938 kB / 0.7267 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.4684, allocations: 1.094 kB / 0.7267 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.4684, allocations: 2.5 kB / 0.7267 GB, free: 4.352 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.4685, allocations: 118.4 kB / 0.7268 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.4685, allocations: 5.156 kB / 0.7268 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.34e-05/0.4686, allocations: 6.516 kB / 0.7268 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4686, allocations: 2.031 kB / 0.7268 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4686, allocations: 3.938 kB / 0.7268 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.4686, allocations: 0 / 0.7268 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.4688, allocations: 349.7 kB / 0.7272 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4688, allocations: 1.125 kB / 0.7272 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.4688, allocations: 1.969 kB / 0.7272 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4688, allocations: 3.938 kB / 0.7272 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-06/0.4689, allocations: 0 / 0.7272 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4689, allocations: 1.375 kB / 0.7272 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4689, allocations: 3 kB / 0.7272 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.418e-05/0.4689, allocations: 60.91 kB / 0.7272 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.469, allocations: 87.62 kB / 0.7273 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.469, allocations: 0 / 0.7273 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.4691, allocations: 5.547 kB / 0.7273 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-06/0.4691, allocations: 0 / 0.7273 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4691, allocations: 1.625 kB / 0.7273 GB, free: 3.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.4691, allocations: 89.8 kB / 0.7274 GB, free: 3.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4691, allocations: 0 / 0.7274 GB, free: 3.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001808/0.4693, allocations: 6.812 kB / 0.7274 GB, free: 3.582 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002675/0.4696, allocations: 0.6016 MB / 0.728 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.407e-05/0.4697, allocations: 19.12 kB / 0.728 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4697, allocations: 0.9375 kB / 0.728 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.4697, allocations: 2.953 kB / 0.728 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.4699, allocations: 10.62 kB / 0.728 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.4702, allocations: 144.1 kB / 0.7282 GB, free: 2.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.4704, allocations: 0.675 MB / 0.7288 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.609e-05/0.4704, allocations: 5.719 kB / 0.7289 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.4705, allocations: 13.88 kB / 0.7289 GB, free: 2.113 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4705, allocations: 0 / 0.7289 GB, free: 2.113 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4071/0.8776, allocations: 1.322 MB / 0.7302 GB, free: 1.828 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.635, allocations: 10.62 kB / 0.7302 GB, free: 1.82 MB / 0.545 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/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)