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.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 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.001589/0.001589, allocations: 194.2 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8383/0.8383, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.27 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1263, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3297/0.456, allocations: 147.8 MB / 0.7288 GB, free: 1.613 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.4562, allocations: 53.3 kB / 0.7289 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.4562, allocations: 1.031 kB / 0.7289 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.161e-05/0.4563, allocations: 1.219 kB / 0.7289 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.4564, allocations: 13.73 kB / 0.7289 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.4568, allocations: 110.5 kB / 0.729 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.4569, allocations: 28.7 kB / 0.729 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.4569, allocations: 15.56 kB / 0.729 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.7e-05/0.457, allocations: 15.09 kB / 0.7291 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.457, allocations: 11.73 kB / 0.7291 GB, free: 1.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.457, allocations: 1.25 kB / 0.7291 GB, free: 1.496 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.4573, allocations: 86.48 kB / 0.7292 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.4573, allocations: 9.891 kB / 0.7292 GB, free: 1.457 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.4574, allocations: 15.27 kB / 0.7292 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.4575, allocations: 65.7 kB / 0.7292 GB, free: 1.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4575, allocations: 0.9375 kB / 0.7292 GB, free: 1.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4575, allocations: 0 / 0.7292 GB, free: 1.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4576, allocations: 4 kB / 0.7292 GB, free: 1.438 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.000341/0.4579, allocations: 344.3 kB / 0.7296 GB, free: 1.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.4579, allocations: 10.36 kB / 0.7296 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.458, allocations: 31.84 kB / 0.7296 GB, free: 1.035 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.4582, allocations: 24.36 kB / 0.7296 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.315e-05/0.4583, allocations: 162.4 kB / 0.7298 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.4584, allocations: 31.48 kB / 0.7298 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.4584, allocations: 9.188 kB / 0.7298 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.4585, allocations: 52.48 kB / 0.7299 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.4585, allocations: 0 / 0.7299 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4585, allocations: 0 / 0.7299 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4586, allocations: 3.016 kB / 0.7299 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.4586, allocations: 18.95 kB / 0.7299 GB, free: 0.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.4589, allocations: 264.8 kB / 0.7302 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.306e-05/0.459, allocations: 21.38 kB / 0.7302 GB, free: 452 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.459, allocations: 8.422 kB / 0.7302 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-06/0.459, allocations: 0.8438 kB / 0.7302 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.459, allocations: 31.66 kB / 0.7302 GB, free: 404 kB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4591, allocations: 0 / 0.7302 GB, free: 404 kB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001134/0.4592, allocations: 36.66 kB / 0.7303 GB, free: 368 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.4592, allocations: 60.53 kB / 0.7303 GB, free: 296 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.4593, allocations: 108.3 kB / 0.7304 GB, free: 188 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.4593, allocations: 26.8 kB / 0.7304 GB, free: 156 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.4593, allocations: 90.53 kB / 0.7305 GB, free: 64 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.76e-06/0.4594, allocations: 5.969 kB / 0.7305 GB, free: 60 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.4594, allocations: 16.81 kB / 0.7305 GB, free: 40 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.4595, allocations: 313.5 kB / 0.7308 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.4595, allocations: 8.641 kB / 0.7309 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.4595, allocations: 25.59 kB / 0.7309 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.4596, allocations: 31.98 kB / 0.7309 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4596, allocations: 0 / 0.7309 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.881e-05/0.4597, allocations: 57.31 kB / 0.731 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4597, allocations: 6 kB / 0.731 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4597, allocations: 5 kB / 0.731 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.4597, allocations: 1.125 kB / 0.731 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.4598, allocations: 10.62 kB / 0.731 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4598, allocations: 5.609 kB / 0.731 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.4598, allocations: 1.125 kB / 0.731 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.4598, allocations: 3.016 kB / 0.731 GB, free: 15.61 MB / 0.5606 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.166e-05/0.4599, allocations: 112.7 kB / 0.7311 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.4599, allocations: 9.156 kB / 0.7311 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.46, allocations: 4.953 kB / 0.7311 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.46, allocations: 3.031 kB / 0.7311 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.46, allocations: 3.938 kB / 0.7311 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.46, allocations: 2.047 kB / 0.7311 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.4602, allocations: 343.1 kB / 0.7315 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4602, allocations: 0.7969 kB / 0.7315 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.4602, allocations: 1.719 kB / 0.7315 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.4602, allocations: 9.719 kB / 0.7315 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.4602, allocations: 0.5625 kB / 0.7315 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4603, allocations: 0 / 0.7315 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4603, allocations: 0 / 0.7315 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.791e-05/0.4603, allocations: 58.25 kB / 0.7315 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.4604, allocations: 83.12 kB / 0.7316 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.4604, allocations: 9.234 kB / 0.7316 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.4605, allocations: 8.656 kB / 0.7316 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-06/0.4605, allocations: 0.8438 kB / 0.7316 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.4605, allocations: 1.375 kB / 0.7316 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.4605, allocations: 86.41 kB / 0.7317 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4605, allocations: 0 / 0.7317 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001876/0.4607, allocations: 6.281 kB / 0.7317 GB, free: 14.84 MB / 0.5606 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.0002541/0.461, allocations: 0.602 MB / 0.7323 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.827e-05/0.4611, allocations: 18.92 kB / 0.7323 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4611, allocations: 0 / 0.7323 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.57e-06/0.4611, allocations: 2.25 kB / 0.7323 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.4613, allocations: 6.484 kB / 0.7323 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.4616, allocations: 143.3 kB / 0.7325 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.4618, allocations: 0.6792 MB / 0.7331 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.06e-05/0.4618, allocations: 7.438 kB / 0.7331 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.4619, allocations: 12 kB / 0.7331 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of SimCode: time 1.9e-07/0.4619, allocations: 1.062 kB / 0.7331 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3191/0.781, allocations: 1.332 MB / 0.7344 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.677/10.46, allocations: 11.52 kB / 0.7345 GB, free: 13.08 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)