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.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001222/0.001222, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8905/0.8905, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 60.17 kB / 0.5048 GB, free: 5.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1607, allocations: 80.92 MB / 0.5838 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4107/0.5714, allocations: 145.6 MB / 0.726 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001415/0.5716, allocations: 56.2 kB / 0.726 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.5716, allocations: 0 / 0.726 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.5718, allocations: 2.016 kB / 0.726 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.5719, allocations: 14.58 kB / 0.726 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.5724, allocations: 95.81 kB / 0.7261 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.5725, allocations: 58.34 kB / 0.7262 GB, free: 3.496 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.5725, allocations: 9.719 kB / 0.7262 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.5726, allocations: 14.91 kB / 0.7262 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.5727, allocations: 13.67 kB / 0.7262 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.5727, allocations: 1.188 kB / 0.7262 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.573, allocations: 81.28 kB / 0.7263 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.5731, allocations: 9.172 kB / 0.7263 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.5731, allocations: 11.38 kB / 0.7263 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.5734, allocations: 73.81 kB / 0.7264 GB, free: 3.426 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.5734, allocations: 1.031 kB / 0.7264 GB, free: 3.426 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5734, allocations: 4 kB / 0.7264 GB, free: 3.422 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.5734, allocations: 1.25 kB / 0.7264 GB, free: 3.422 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.0004589/0.5739, allocations: 343.8 kB / 0.7267 GB, free: 3.059 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.5739, allocations: 9.781 kB / 0.7267 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.574, allocations: 36.33 kB / 0.7268 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.5742, allocations: 18.62 kB / 0.7268 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.5744, allocations: 162.8 kB / 0.7269 GB, free: 2.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.5744, allocations: 36.58 kB / 0.727 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.5745, allocations: 1.062 kB / 0.727 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5746, allocations: 47.81 kB / 0.727 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.5746, allocations: 0 / 0.727 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5746, allocations: 1.844 kB / 0.727 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.5747, allocations: 1.938 kB / 0.727 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.5747, allocations: 22.91 kB / 0.727 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.5751, allocations: 264.3 kB / 0.7273 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.941e-05/0.5752, allocations: 16.86 kB / 0.7273 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.5752, allocations: 10.41 kB / 0.7273 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.5752, allocations: 0.5625 kB / 0.7273 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.5752, allocations: 32.3 kB / 0.7274 GB, free: 2.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.5752, allocations: 0 / 0.7274 GB, free: 2.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.5754, allocations: 40.62 kB / 0.7274 GB, free: 2.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.5754, allocations: 56.66 kB / 0.7274 GB, free: 2.277 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.5755, allocations: 106 kB / 0.7276 GB, free: 2.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.5755, allocations: 26.92 kB / 0.7276 GB, free: 2.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.5756, allocations: 95.83 kB / 0.7277 GB, free: 2.051 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.774e-06/0.5756, allocations: 7.891 kB / 0.7277 GB, free: 2.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.5756, allocations: 14.28 kB / 0.7277 GB, free: 2.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.5757, allocations: 317.2 kB / 0.728 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.5758, allocations: 9.172 kB / 0.728 GB, free: 1.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.5758, allocations: 23.91 kB / 0.728 GB, free: 1.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.5758, allocations: 36.33 kB / 0.7281 GB, free: 1.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5759, allocations: 0 / 0.7281 GB, free: 1.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001033/0.576, allocations: 57.38 kB / 0.7281 GB, free: 1.605 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.576, allocations: 6.688 kB / 0.7281 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.576, allocations: 1.828 kB / 0.7281 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.576, allocations: 1 kB / 0.7281 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.5761, allocations: 10.86 kB / 0.7281 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5761, allocations: 5.594 kB / 0.7281 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.5761, allocations: 6.344 kB / 0.7281 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.5762, allocations: 1.188 kB / 0.7281 GB, free: 1.594 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 7.297e-05/0.5762, allocations: 117.8 kB / 0.7283 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.5763, allocations: 5.156 kB / 0.7283 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.5763, allocations: 4.953 kB / 0.7283 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5763, allocations: 5.969 kB / 0.7283 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5763, allocations: 3.938 kB / 0.7283 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5763, allocations: 0 / 0.7283 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.5766, allocations: 344.7 kB / 0.7286 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5766, allocations: 1.188 kB / 0.7286 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.5766, allocations: 5.281 kB / 0.7286 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5766, allocations: 4.547 kB / 0.7286 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.5766, allocations: 1.125 kB / 0.7286 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5766, allocations: 0 / 0.7286 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.5766, allocations: 1.969 kB / 0.7286 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.76e-05/0.5767, allocations: 56.89 kB / 0.7287 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.5767, allocations: 90.86 kB / 0.7288 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.5768, allocations: 1.703 kB / 0.7288 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.5769, allocations: 9.516 kB / 0.7288 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.5769, allocations: 1.844 kB / 0.7288 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.5769, allocations: 0 / 0.7288 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.5769, allocations: 82.39 kB / 0.7288 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5769, allocations: 0 / 0.7288 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002006/0.5771, allocations: 5.562 kB / 0.7289 GB, free: 0.8203 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.0003159/0.5775, allocations: 0.6048 MB / 0.7294 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.002e-05/0.5776, allocations: 10.52 kB / 0.7295 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5776, allocations: 0 / 0.7295 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.5776, allocations: 3.109 kB / 0.7295 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.5778, allocations: 11.16 kB / 0.7295 GB, free: 216 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.5782, allocations: 155.7 kB / 0.7296 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.5784, allocations: 0.6758 MB / 0.7303 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.966e-05/0.5785, allocations: 6.531 kB / 0.7303 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.5786, allocations: 9.25 kB / 0.7303 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.5786, allocations: 0 / 0.7303 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/0.8529, allocations: 1.212 MB / 0.7315 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.8531, allocations: 229.2 kB / 0.7317 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.672, allocations: 0 / 0.7317 GB, free: 14.92 MB / 0.5606 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/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)