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.0007264/0.0007264, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00447/0.00447, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7322/0.7322, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003096, allocations: 15.98 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.392, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1464/0.5385, allocations: 143.7 MB / 0.7241 GB, free: 148 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.5387, allocations: 47.75 kB / 0.7241 GB, free: 104 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.5387, allocations: 0 / 0.7241 GB, free: 104 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.5388, allocations: 7.922 kB / 0.7242 GB, free: 96 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.5389, allocations: 11.92 kB / 0.7242 GB, free: 84 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.5394, allocations: 99.77 kB / 0.7243 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.142e-05/0.5395, allocations: 55.83 kB / 0.7243 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.5395, allocations: 0 / 0.7243 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.5396, allocations: 27.86 kB / 0.7243 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.5396, allocations: 7.984 kB / 0.7243 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.5397, allocations: 4 kB / 0.7244 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.5399, allocations: 79.72 kB / 0.7244 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.54, allocations: 11.98 kB / 0.7244 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.54, allocations: 37.62 kB / 0.7245 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.5402, allocations: 78.09 kB / 0.7246 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5402, allocations: 0 / 0.7246 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5402, allocations: 0 / 0.7246 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5402, allocations: 0 / 0.7246 GB, free: 15.68 MB / 0.5606 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.0003422/0.5405, allocations: 331.5 kB / 0.7249 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5406, allocations: 12.03 kB / 0.7249 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.5406, allocations: 30.75 kB / 0.7249 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.5409, allocations: 20.92 kB / 0.7249 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.541, allocations: 168.1 kB / 0.7251 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/0.541, allocations: 33.69 kB / 0.7251 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.5411, allocations: 0 / 0.7251 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5412, allocations: 53.61 kB / 0.7252 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.5412, allocations: 0 / 0.7252 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5412, allocations: 3.984 kB / 0.7252 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.5412, allocations: 0 / 0.7252 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.5413, allocations: 19.98 kB / 0.7252 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.5416, allocations: 264.8 kB / 0.7254 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.657e-05/0.5417, allocations: 22.55 kB / 0.7255 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.5417, allocations: 8.922 kB / 0.7255 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.5417, allocations: 0 / 0.7255 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.5417, allocations: 34.56 kB / 0.7255 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.5418, allocations: 0 / 0.7255 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.5419, allocations: 33.7 kB / 0.7255 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.5419, allocations: 59.34 kB / 0.7256 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.542, allocations: 109.8 kB / 0.7257 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.542, allocations: 25.7 kB / 0.7257 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.5421, allocations: 87.98 kB / 0.7258 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.5421, allocations: 3.906 kB / 0.7258 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.5421, allocations: 13.84 kB / 0.7258 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.5422, allocations: 326.8 kB / 0.7261 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.5422, allocations: 7.938 kB / 0.7261 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/0.5422, allocations: 22.58 kB / 0.7262 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.5423, allocations: 26.56 kB / 0.7262 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5423, allocations: 4 kB / 0.7262 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.823e-05/0.5424, allocations: 57.62 kB / 0.7263 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5424, allocations: 8 kB / 0.7263 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5424, allocations: 3.938 kB / 0.7263 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5424, allocations: 0 / 0.7263 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.5425, allocations: 8.188 kB / 0.7263 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5425, allocations: 4 kB / 0.7263 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.5425, allocations: 4 kB / 0.7263 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.5425, allocations: 4 kB / 0.7263 GB, free: 13.65 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.183e-05/0.5426, allocations: 111.5 kB / 0.7264 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.5426, allocations: 7.984 kB / 0.7264 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.5427, allocations: 7.125 kB / 0.7264 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.5427, allocations: 3.938 kB / 0.7264 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5427, allocations: 0 / 0.7264 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5427, allocations: 0 / 0.7264 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.5429, allocations: 346.6 kB / 0.7267 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5429, allocations: 4.031 kB / 0.7267 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.543, allocations: 7.938 kB / 0.7267 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.543, allocations: 0 / 0.7267 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.543, allocations: 3.984 kB / 0.7268 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.543, allocations: 0 / 0.7268 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.543, allocations: 0 / 0.7268 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.827e-05/0.543, allocations: 57.14 kB / 0.7268 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.5431, allocations: 81.05 kB / 0.7269 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5431, allocations: 4.031 kB / 0.7269 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.5432, allocations: 7.984 kB / 0.7269 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.5432, allocations: 0 / 0.7269 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.5432, allocations: 3.938 kB / 0.7269 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.5433, allocations: 83.28 kB / 0.727 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5433, allocations: 0 / 0.727 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001825/0.5434, allocations: 11.98 kB / 0.727 GB, free: 12.82 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.000262/0.5437, allocations: 0.6007 MB / 0.7276 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.979e-05/0.5438, allocations: 15.92 kB / 0.7276 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5438, allocations: 3.938 kB / 0.7276 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-06/0.5438, allocations: 4 kB / 0.7276 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.544, allocations: 8.281 kB / 0.7276 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.5443, allocations: 148.9 kB / 0.7278 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.5445, allocations: 0.677 MB / 0.7284 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.319e-05/0.5446, allocations: 12.06 kB / 0.7284 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.5446, allocations: 15.44 kB / 0.7284 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.5446, allocations: 4 kB / 0.7284 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2428/0.7874, allocations: 1.154 MB / 0.7296 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/0.7877, allocations: 216.5 kB / 0.7298 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.642, allocations: 0 / 0.7298 GB, free: 10.04 MB / 0.5606 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)