Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.007252/0.007252, allocations: 98.38 kB / 15.73 MB, free: 6.012 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.001429/0.001429, allocations: 197.2 kB / 16.67 MB, free: 5.949 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.997/0.997, allocations: 135.5 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4098, allocations: 81.01 MB / 0.6649 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1721/0.5819, allocations: 148.3 MB / 0.8097 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.5821, allocations: 51.86 kB / 0.8097 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.5822, allocations: 0 / 0.8097 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.5823, allocations: 3.938 kB / 0.8097 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.5823, allocations: 11.97 kB / 0.8097 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.5831, allocations: 219.1 kB / 0.8099 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.433e-05/0.5832, allocations: 35.91 kB / 0.81 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.5833, allocations: 0 / 0.81 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.5833, allocations: 23.84 kB / 0.81 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.5834, allocations: 8 kB / 0.81 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.5834, allocations: 0 / 0.81 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.5839, allocations: 203.4 kB / 0.8102 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.584, allocations: 0 / 0.8102 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.584, allocations: 19.92 kB / 0.8102 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.5843, allocations: 115.2 kB / 0.8103 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5843, allocations: 0 / 0.8103 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5843, allocations: 0 / 0.8103 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5843, allocations: 0 / 0.8103 GB, free: 11.41 MB / 0.6387 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.0004422/0.5848, allocations: 344.6 kB / 0.8107 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5848, allocations: 12.03 kB / 0.8107 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.76e-05/0.5849, allocations: 38.73 kB / 0.8107 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.5852, allocations: 16.92 kB / 0.8107 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.5853, allocations: 172.1 kB / 0.8109 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.811e-05/0.5854, allocations: 25.7 kB / 0.8109 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.5854, allocations: 0 / 0.8109 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.5856, allocations: 57.61 kB / 0.811 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5856, allocations: 0 / 0.811 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5856, allocations: 4 kB / 0.811 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.5856, allocations: 0 / 0.811 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.5857, allocations: 23.98 kB / 0.811 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.5861, allocations: 264.8 kB / 0.8112 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.5861, allocations: 26.52 kB / 0.8113 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.5862, allocations: 8.844 kB / 0.8113 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.5863, allocations: 101.2 kB / 0.8114 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.5864, allocations: 30.56 kB / 0.8114 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5864, allocations: 3.938 kB / 0.8114 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.5866, allocations: 53.64 kB / 0.8115 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.5867, allocations: 55.34 kB / 0.8115 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.5868, allocations: 106 kB / 0.8116 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.5868, allocations: 29.7 kB / 0.8116 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.5869, allocations: 84.09 kB / 0.8117 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.5869, allocations: 7.891 kB / 0.8117 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.5869, allocations: 21.66 kB / 0.8117 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5871, allocations: 318.8 kB / 0.812 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.5871, allocations: 4 kB / 0.8121 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.5871, allocations: 26.58 kB / 0.8121 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.515e-05/0.5872, allocations: 34.56 kB / 0.8121 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5872, allocations: 0 / 0.8121 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.709e-05/0.5873, allocations: 49.64 kB / 0.8122 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5873, allocations: 11.92 kB / 0.8122 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5873, allocations: 4.094 kB / 0.8122 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5874, allocations: 4 kB / 0.8122 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.5874, allocations: 4 kB / 0.8122 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.5874, allocations: 3.938 kB / 0.8122 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.5875, allocations: 4 kB / 0.8122 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.5875, allocations: 0 / 0.8122 GB, free: 9.23 MB / 0.6387 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 9.718e-05/0.5876, allocations: 113.8 kB / 0.8123 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.5876, allocations: 0 / 0.8123 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.5876, allocations: 7.109 kB / 0.8123 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5876, allocations: 4 kB / 0.8123 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.5877, allocations: 7.938 kB / 0.8123 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5877, allocations: 0 / 0.8123 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.588, allocations: 363.5 kB / 0.8127 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.588, allocations: 0 / 0.8127 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.5881, allocations: 11.92 kB / 0.8127 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5881, allocations: 0 / 0.8127 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.5881, allocations: 4 kB / 0.8127 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5881, allocations: 8.062 kB / 0.8127 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5881, allocations: 0 / 0.8127 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.736e-05/0.5882, allocations: 65.94 kB / 0.8127 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.5883, allocations: 89.03 kB / 0.8128 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.5883, allocations: 0 / 0.8128 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.5884, allocations: 8 kB / 0.8128 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.5884, allocations: 4.031 kB / 0.8128 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.5884, allocations: 0 / 0.8128 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.5885, allocations: 83.27 kB / 0.8129 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.014e-06/0.5885, allocations: 0 / 0.8129 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001989/0.5887, allocations: 15.88 kB / 0.8129 GB, free: 8.344 MB / 0.6387 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.0004376/0.5891, allocations: 0.6171 MB / 0.8135 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.5892, allocations: 12 kB / 0.8136 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5892, allocations: 3.938 kB / 0.8136 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.5893, allocations: 4 kB / 0.8136 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.5895, allocations: 8.328 kB / 0.8136 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.5899, allocations: 145.2 kB / 0.8137 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5902, allocations: 0.6768 MB / 0.8144 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.839e-05/0.5903, allocations: 8.406 kB / 0.8144 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.5903, allocations: 15.44 kB / 0.8144 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.5903, allocations: 3.938 kB / 0.8144 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.6119, allocations: 1.441 MB / 0.8158 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/8.22, allocations: 2.812 kB / 0.8158 GB, free: 5.402 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)