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.00164/0.00164, 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.001892/0.001892, allocations: 197.1 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7465/0.7465, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 56.44 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3713, allocations: 80.21 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1626/0.5339, allocations: 148.3 MB / 0.725 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001693/0.5341, allocations: 63.78 kB / 0.725 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.5342, allocations: 0 / 0.725 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.5343, allocations: 3.938 kB / 0.725 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.5344, allocations: 15.91 kB / 0.7251 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008522/0.5353, allocations: 211.2 kB / 0.7253 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.592e-05/0.5354, allocations: 35.84 kB / 0.7253 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.5354, allocations: 0 / 0.7253 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.5354, allocations: 15.98 kB / 0.7253 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.5355, allocations: 15.92 kB / 0.7253 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.5355, allocations: 3.938 kB / 0.7253 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.536, allocations: 199.4 kB / 0.7255 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.536, allocations: 7.984 kB / 0.7255 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.5361, allocations: 15.92 kB / 0.7255 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.5363, allocations: 110.1 kB / 0.7256 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5364, allocations: 0 / 0.7256 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5364, allocations: 0 / 0.7256 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.5364, allocations: 0 / 0.7256 GB, free: 12.07 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.0003953/0.5368, allocations: 347.4 kB / 0.726 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.5368, allocations: 12.03 kB / 0.726 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.5369, allocations: 38.69 kB / 0.726 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.5372, allocations: 28.91 kB / 0.726 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.5373, allocations: 172.1 kB / 0.7262 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.5374, allocations: 25.7 kB / 0.7262 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.5374, allocations: 4 kB / 0.7262 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.5376, allocations: 49.67 kB / 0.7263 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.5377, allocations: 0 / 0.7263 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5377, allocations: 0 / 0.7263 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.5377, allocations: 0 / 0.7263 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.5378, allocations: 27.98 kB / 0.7263 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.5381, allocations: 264.8 kB / 0.7266 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.5382, allocations: 22.58 kB / 0.7266 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.5382, allocations: 8.922 kB / 0.7266 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.5383, allocations: 93.09 kB / 0.7267 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.5384, allocations: 30.56 kB / 0.7267 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5384, allocations: 0 / 0.7267 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002363/0.5386, allocations: 57.61 kB / 0.7268 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.5387, allocations: 55.34 kB / 0.7268 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.5388, allocations: 105.8 kB / 0.7269 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5388, allocations: 25.7 kB / 0.7269 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.5388, allocations: 96.11 kB / 0.727 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-06/0.5388, allocations: 3.906 kB / 0.727 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.5389, allocations: 17.7 kB / 0.7271 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.539, allocations: 318.8 kB / 0.7274 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.539, allocations: 0 / 0.7274 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.539, allocations: 22.56 kB / 0.7274 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.816e-05/0.5391, allocations: 38.52 kB / 0.7274 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5391, allocations: 0 / 0.7274 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.207e-05/0.5392, allocations: 57.62 kB / 0.7275 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5392, allocations: 4 kB / 0.7275 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5392, allocations: 0 / 0.7275 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5392, allocations: 4 kB / 0.7275 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.5393, allocations: 7.938 kB / 0.7275 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5393, allocations: 8.031 kB / 0.7275 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.5394, allocations: 4 kB / 0.7275 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.5394, allocations: 0 / 0.7275 GB, free: 9.887 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 7.451e-05/0.5394, allocations: 113.8 kB / 0.7276 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.5395, allocations: 7.922 kB / 0.7276 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.5395, allocations: 7.125 kB / 0.7276 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5395, allocations: 4 kB / 0.7276 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5395, allocations: 3.938 kB / 0.7276 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5395, allocations: 0 / 0.7276 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.5398, allocations: 367.5 kB / 0.728 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5398, allocations: 3.938 kB / 0.728 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.5399, allocations: 7.938 kB / 0.728 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5399, allocations: 0 / 0.728 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.5399, allocations: 0 / 0.728 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5399, allocations: 4 kB / 0.728 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5399, allocations: 0 / 0.728 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.614e-05/0.54, allocations: 74.05 kB / 0.7281 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.54, allocations: 89.05 kB / 0.7282 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.54, allocations: 0 / 0.7282 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.5401, allocations: 4 kB / 0.7282 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.5401, allocations: 3.984 kB / 0.7282 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5402, allocations: 3.938 kB / 0.7282 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.5402, allocations: 87.31 kB / 0.7282 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5402, allocations: 0 / 0.7282 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001937/0.5404, allocations: 8 kB / 0.7283 GB, free: 9 MB / 0.5606 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.0003455/0.5407, allocations: 0.6094 MB / 0.7289 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.5408, allocations: 15.92 kB / 0.7289 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5409, allocations: 0 / 0.7289 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.5409, allocations: 4 kB / 0.7289 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.5411, allocations: 14.12 kB / 0.7289 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.5415, allocations: 157.3 kB / 0.729 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.5418, allocations: 0.6807 MB / 0.7297 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.761e-05/0.5418, allocations: 12.39 kB / 0.7297 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.5419, allocations: 7.438 kB / 0.7297 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5419, allocations: 4 kB / 0.7297 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.5587, allocations: 1.406 MB / 0.7311 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.766, allocations: 12.69 kB / 0.7311 GB, free: 6.078 MB / 0.5606 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)