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.001687/0.001688, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001813/0.001813, allocations: 196.2 kB / 16.14 MB, free: 6.715 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7207/0.7207, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001583, allocations: 68.08 kB / 0.5012 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 80.2 MB / 0.5795 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3152/0.4398, allocations: 145.6 MB / 0.7217 GB, free: 8.473 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.44, allocations: 56.08 kB / 0.7217 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.44, allocations: 1.031 kB / 0.7217 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.675e-05/0.4401, allocations: 0.75 kB / 0.7217 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.734e-05/0.4402, allocations: 18.55 kB / 0.7217 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.4405, allocations: 95.56 kB / 0.7218 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.569e-05/0.4406, allocations: 63.03 kB / 0.7219 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.009e-05/0.4407, allocations: 2.266 kB / 0.7219 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.4407, allocations: 14.23 kB / 0.7219 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.4408, allocations: 13.69 kB / 0.7219 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.4408, allocations: 1.469 kB / 0.7219 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.441, allocations: 86.09 kB / 0.722 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.441, allocations: 7.25 kB / 0.722 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.4411, allocations: 10.02 kB / 0.722 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.4412, allocations: 71.47 kB / 0.7221 GB, free: 8.305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4412, allocations: 5.906 kB / 0.7221 GB, free: 8.301 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.126e-06/0.4413, allocations: 0 / 0.7221 GB, free: 8.301 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4413, allocations: 3.938 kB / 0.7221 GB, free: 8.297 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.0003282/0.4416, allocations: 341.7 kB / 0.7224 GB, free: 7.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.4416, allocations: 8.938 kB / 0.7224 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.4417, allocations: 32.75 kB / 0.7225 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.4419, allocations: 18.94 kB / 0.7225 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/0.442, allocations: 166.6 kB / 0.7226 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.259e-05/0.442, allocations: 35.92 kB / 0.7227 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.442, allocations: 1.125 kB / 0.7227 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.4422, allocations: 44.44 kB / 0.7227 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4422, allocations: 0 / 0.7227 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4422, allocations: 9.594 kB / 0.7227 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.4422, allocations: 1.844 kB / 0.7227 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.319e-05/0.4423, allocations: 22.56 kB / 0.7227 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.4426, allocations: 261.5 kB / 0.723 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.209e-05/0.4426, allocations: 20.92 kB / 0.723 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.4426, allocations: 6.688 kB / 0.723 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.4426, allocations: 0 / 0.723 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.4427, allocations: 35.72 kB / 0.7231 GB, free: 7.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.4427, allocations: 0 / 0.7231 GB, free: 7.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.4428, allocations: 37.52 kB / 0.7231 GB, free: 7.223 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.4428, allocations: 57.03 kB / 0.7231 GB, free: 7.156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/0.4429, allocations: 109.6 kB / 0.7232 GB, free: 7.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.4429, allocations: 27.22 kB / 0.7233 GB, free: 7.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.443, allocations: 90.66 kB / 0.7234 GB, free: 6.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.443, allocations: 8.984 kB / 0.7234 GB, free: 6.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.443, allocations: 17.69 kB / 0.7234 GB, free: 6.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.4431, allocations: 317.7 kB / 0.7237 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.4431, allocations: 3.672 kB / 0.7237 GB, free: 6.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.4431, allocations: 25.89 kB / 0.7237 GB, free: 6.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/0.4432, allocations: 36.02 kB / 0.7238 GB, free: 6.523 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4432, allocations: 4.938 kB / 0.7238 GB, free: 6.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.13e-05/0.4433, allocations: 52.58 kB / 0.7238 GB, free: 6.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.4433, allocations: 7 kB / 0.7238 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4433, allocations: 4.953 kB / 0.7238 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.4433, allocations: 1.125 kB / 0.7238 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.4434, allocations: 6.609 kB / 0.7238 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.4434, allocations: 5.953 kB / 0.7238 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.4434, allocations: 1.031 kB / 0.7238 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.4434, allocations: 2.375 kB / 0.7238 GB, free: 6.477 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.459e-05/0.4435, allocations: 118.7 kB / 0.7239 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.4435, allocations: 9.031 kB / 0.724 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.39e-05/0.4435, allocations: 9.141 kB / 0.724 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4435, allocations: 1.062 kB / 0.724 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4436, allocations: 4.688 kB / 0.724 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.4436, allocations: 3.938 kB / 0.724 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.4438, allocations: 340.8 kB / 0.7243 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4438, allocations: 4.594 kB / 0.7243 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.4438, allocations: 1.281 kB / 0.7243 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4438, allocations: 5.828 kB / 0.7243 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.4438, allocations: 96 / 0.7243 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4438, allocations: 1.188 kB / 0.7243 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4438, allocations: 3.938 kB / 0.7243 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.773e-05/0.4439, allocations: 63.02 kB / 0.7244 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.4439, allocations: 86.39 kB / 0.7245 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4439, allocations: 1.219 kB / 0.7245 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.444, allocations: 4.688 kB / 0.7245 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-06/0.444, allocations: 0 / 0.7245 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.444, allocations: 1.125 kB / 0.7245 GB, free: 5.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.4441, allocations: 90 kB / 0.7245 GB, free: 5.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4441, allocations: 1.125 kB / 0.7246 GB, free: 5.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001707/0.4443, allocations: 6.281 kB / 0.7246 GB, free: 5.695 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.0002402/0.4445, allocations: 0.6016 MB / 0.7251 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.262e-05/0.4446, allocations: 9.656 kB / 0.7252 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4446, allocations: 0.9688 kB / 0.7252 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.263e-06/0.4446, allocations: 6.516 kB / 0.7252 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.4448, allocations: 16.83 kB / 0.7252 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.4451, allocations: 151.2 kB / 0.7253 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.4453, allocations: 0.6764 MB / 0.726 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.4453, allocations: 5.031 kB / 0.726 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.4453, allocations: 13.98 kB / 0.726 GB, free: 4.219 MB / 0.545 GB Notification: Performance of SimCode: time 1.7e-07/0.4453, allocations: 0 / 0.726 GB, free: 4.219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.201/1.646, allocations: 1.202 MB / 0.7272 GB, free: 4.055 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.647, allocations: 234.9 kB / 0.7274 GB, free: 3.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/3.198, allocations: 0 / 0.7274 GB, free: 3.797 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)