Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",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.0009682/0.0009681, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.0009754/0.0009754, allocations: 193.2 kB / 16.13 MB, free: 6.719 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 64.16 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1397, allocations: 80.21 MB / 0.5795 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3286/0.4683, allocations: 146 MB / 0.7221 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001233/0.4685, allocations: 55.23 kB / 0.7221 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.4685, allocations: 0 / 0.7221 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.734e-05/0.4686, allocations: 0.75 kB / 0.7221 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.4687, allocations: 20.59 kB / 0.7222 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.4693, allocations: 194.9 kB / 0.7223 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.664e-05/0.4694, allocations: 66.06 kB / 0.7224 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.68e-05/0.4694, allocations: 5.625 kB / 0.7224 GB, free: 7.949 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.4695, allocations: 14.97 kB / 0.7224 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.4695, allocations: 14.73 kB / 0.7224 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.4696, allocations: 1.094 kB / 0.7224 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.47, allocations: 229.9 kB / 0.7227 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.47, allocations: 6.531 kB / 0.7227 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.4701, allocations: 10.55 kB / 0.7227 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.4703, allocations: 127.5 kB / 0.7228 GB, free: 7.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4704, allocations: 1.312 kB / 0.7228 GB, free: 7.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.02e-07/0.4704, allocations: 4 kB / 0.7228 GB, free: 7.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.4704, allocations: 0 / 0.7228 GB, free: 7.809 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.0003332/0.4707, allocations: 342.8 kB / 0.7231 GB, free: 7.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.4708, allocations: 9.469 kB / 0.7231 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.4708, allocations: 33.08 kB / 0.7232 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.4711, allocations: 31.67 kB / 0.7232 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.356e-05/0.4712, allocations: 163.5 kB / 0.7234 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.4712, allocations: 36.03 kB / 0.7234 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.4712, allocations: 1.188 kB / 0.7234 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.4714, allocations: 57.23 kB / 0.7234 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.4714, allocations: 0 / 0.7234 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4714, allocations: 1.688 kB / 0.7234 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.4714, allocations: 2.531 kB / 0.7235 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.4715, allocations: 20.8 kB / 0.7235 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.4718, allocations: 268.1 kB / 0.7237 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.4718, allocations: 23.52 kB / 0.7237 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.4718, allocations: 8.984 kB / 0.7238 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.472, allocations: 90.42 kB / 0.7238 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.472, allocations: 33.02 kB / 0.7239 GB, free: 6.668 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.472, allocations: 4 kB / 0.7239 GB, free: 6.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000201/0.4722, allocations: 51.8 kB / 0.7239 GB, free: 6.625 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.4723, allocations: 52.91 kB / 0.724 GB, free: 6.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/0.4723, allocations: 106.4 kB / 0.7241 GB, free: 6.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4724, allocations: 25.7 kB / 0.7241 GB, free: 6.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.4724, allocations: 89.8 kB / 0.7242 GB, free: 6.336 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.335e-06/0.4724, allocations: 12.89 kB / 0.7242 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.4724, allocations: 18.5 kB / 0.7242 GB, free: 6.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.4725, allocations: 316 kB / 0.7245 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.4726, allocations: 7.266 kB / 0.7245 GB, free: 5.988 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.4726, allocations: 22.33 kB / 0.7245 GB, free: 5.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.4726, allocations: 37.05 kB / 0.7246 GB, free: 5.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4726, allocations: 0 / 0.7246 GB, free: 5.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.56e-05/0.4727, allocations: 52.69 kB / 0.7246 GB, free: 5.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.4727, allocations: 5.531 kB / 0.7246 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4727, allocations: 0.9375 kB / 0.7246 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.118e-06/0.4728, allocations: 1.312 kB / 0.7246 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.4728, allocations: 10 kB / 0.7247 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4728, allocations: 5.797 kB / 0.7247 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.4729, allocations: 1.156 kB / 0.7247 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.4729, allocations: 6.188 kB / 0.7247 GB, free: 5.879 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 5.832e-05/0.4729, allocations: 109.9 kB / 0.7248 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.473, allocations: 4.969 kB / 0.7248 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.473, allocations: 16.67 kB / 0.7248 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.473, allocations: 0.6094 kB / 0.7248 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.473, allocations: 5.312 kB / 0.7248 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.473, allocations: 0 / 0.7248 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.4733, allocations: 364.5 kB / 0.7251 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4733, allocations: 0 / 0.7251 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.4733, allocations: 7.656 kB / 0.7252 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.4733, allocations: 5.062 kB / 0.7252 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4733, allocations: 1.312 kB / 0.7252 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4733, allocations: 0.6094 kB / 0.7252 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4733, allocations: 1.031 kB / 0.7252 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.772e-05/0.4734, allocations: 70.97 kB / 0.7252 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.4734, allocations: 83.02 kB / 0.7253 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4735, allocations: 2.031 kB / 0.7253 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.4735, allocations: 3.75 kB / 0.7253 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.4736, allocations: 2.25 kB / 0.7253 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4736, allocations: 1.859 kB / 0.7253 GB, free: 5.168 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.4736, allocations: 92.41 kB / 0.7254 GB, free: 5.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4736, allocations: 0 / 0.7254 GB, free: 5.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001774/0.4738, allocations: 11.34 kB / 0.7254 GB, free: 5.078 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000301/0.4741, allocations: 0.6007 MB / 0.726 GB, free: 4.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.043e-05/0.4742, allocations: 22.94 kB / 0.726 GB, free: 4.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4742, allocations: 5.031 kB / 0.726 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.888e-06/0.4742, allocations: 4 kB / 0.726 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.4744, allocations: 14.84 kB / 0.726 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.4747, allocations: 160.1 kB / 0.7262 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.4749, allocations: 0.6756 MB / 0.7269 GB, free: 3.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.475, allocations: 6.672 kB / 0.7269 GB, free: 3.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.475, allocations: 8.719 kB / 0.7269 GB, free: 3.586 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.475, allocations: 0 / 0.7269 GB, free: 3.586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1919/0.667, allocations: 1.303 MB / 0.7281 GB, free: 3.371 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.6672, allocations: 192.7 kB / 0.7283 GB, free: 3.121 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.645, allocations: 4 kB / 0.7283 GB, free: 3.117 MB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)