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.001203/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001365/0.001364, allocations: 197.1 kB / 16.14 MB, free: 6.688 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.899/0.899, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.81 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1453, allocations: 80.92 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4077/0.5531, allocations: 146 MB / 0.7264 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.5533, allocations: 49.45 kB / 0.7264 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.5534, allocations: 1.375 kB / 0.7264 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.5535, allocations: 8.016 kB / 0.7264 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.5536, allocations: 10.45 kB / 0.7264 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009004/0.5545, allocations: 204.1 kB / 0.7266 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.5546, allocations: 58.12 kB / 0.7267 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.5547, allocations: 6.219 kB / 0.7267 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.5547, allocations: 19.44 kB / 0.7267 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.5548, allocations: 17.27 kB / 0.7267 GB, free: 3.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.5549, allocations: 1.031 kB / 0.7267 GB, free: 3.016 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.5555, allocations: 226.6 kB / 0.727 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.5555, allocations: 10.48 kB / 0.727 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.5556, allocations: 15.61 kB / 0.727 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.5559, allocations: 124.2 kB / 0.7271 GB, free: 2.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.556, allocations: 4 kB / 0.7271 GB, free: 2.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.556, allocations: 0 / 0.7271 GB, free: 2.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.556, allocations: 0 / 0.7271 GB, free: 2.883 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.0004676/0.5565, allocations: 343.4 kB / 0.7274 GB, free: 2.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5565, allocations: 8.688 kB / 0.7274 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.5566, allocations: 33.02 kB / 0.7275 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000403/0.557, allocations: 28.56 kB / 0.7275 GB, free: 2.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.5571, allocations: 163.8 kB / 0.7277 GB, free: 2.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/0.5572, allocations: 34.78 kB / 0.7277 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.5572, allocations: 2.141 kB / 0.7277 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.5574, allocations: 52.53 kB / 0.7277 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5574, allocations: 0 / 0.7277 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5575, allocations: 1.375 kB / 0.7277 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.5575, allocations: 1.734 kB / 0.7277 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.5576, allocations: 25.52 kB / 0.7278 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.558, allocations: 256.4 kB / 0.728 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.558, allocations: 28.3 kB / 0.728 GB, free: 1.895 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.5581, allocations: 8.109 kB / 0.728 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.5583, allocations: 100.6 kB / 0.7281 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.5583, allocations: 32.34 kB / 0.7282 GB, free: 1.746 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.5583, allocations: 0 / 0.7282 GB, free: 1.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002927/0.5586, allocations: 51.02 kB / 0.7282 GB, free: 1.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.5587, allocations: 53.14 kB / 0.7283 GB, free: 1.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.5588, allocations: 103 kB / 0.7284 GB, free: 1.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.5588, allocations: 33.83 kB / 0.7284 GB, free: 1.504 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.5589, allocations: 90.25 kB / 0.7285 GB, free: 1.414 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.5589, allocations: 5.516 kB / 0.7285 GB, free: 1.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.559, allocations: 21.8 kB / 0.7285 GB, free: 1.387 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5591, allocations: 313.7 kB / 0.7288 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.5591, allocations: 8.266 kB / 0.7288 GB, free: 1.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.5592, allocations: 24.89 kB / 0.7288 GB, free: 1.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.5592, allocations: 32.19 kB / 0.7289 GB, free: 1.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5593, allocations: 0 / 0.7289 GB, free: 1.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.5594, allocations: 53.58 kB / 0.7289 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5594, allocations: 9.906 kB / 0.7289 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5594, allocations: 2.469 kB / 0.7289 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5595, allocations: 1.156 kB / 0.7289 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.5595, allocations: 10.34 kB / 0.729 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5596, allocations: 7.094 kB / 0.729 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.5596, allocations: 1.156 kB / 0.729 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.5596, allocations: 5.172 kB / 0.729 GB, free: 0.957 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 8.62e-05/0.5597, allocations: 116 kB / 0.7291 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.5598, allocations: 2.188 kB / 0.7291 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.5598, allocations: 3.641 kB / 0.7291 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5598, allocations: 1.969 kB / 0.7291 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5598, allocations: 3.938 kB / 0.7291 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5598, allocations: 5.25 kB / 0.7291 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.5602, allocations: 363 kB / 0.7294 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5602, allocations: 1.375 kB / 0.7294 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.5603, allocations: 6.422 kB / 0.7294 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.5603, allocations: 5.438 kB / 0.7294 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.5603, allocations: 1.156 kB / 0.7295 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5603, allocations: 1.641 kB / 0.7295 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5603, allocations: 4.062 kB / 0.7295 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.5604, allocations: 71.14 kB / 0.7295 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.5605, allocations: 82.62 kB / 0.7296 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.5605, allocations: 1.703 kB / 0.7296 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.5607, allocations: 4.828 kB / 0.7296 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.5607, allocations: 10.33 kB / 0.7296 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.5607, allocations: 1.062 kB / 0.7296 GB, free: 248 kB / 0.545 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.5608, allocations: 79.94 kB / 0.7297 GB, free: 172 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5608, allocations: 0 / 0.7297 GB, free: 172 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003331/0.5611, allocations: 7.734 kB / 0.7297 GB, free: 172 kB / 0.545 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.0004679/0.5616, allocations: 0.6172 MB / 0.7303 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.5617, allocations: 10.62 kB / 0.7303 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5617, allocations: 5.031 kB / 0.7303 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.5618, allocations: 12.16 kB / 0.7303 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5621, allocations: 10.06 kB / 0.7303 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.5626, allocations: 158.4 kB / 0.7305 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.5629, allocations: 0.677 MB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.092e-05/0.563, allocations: 9.719 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.563, allocations: 8.781 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.5631, allocations: 1.25 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4273/0.9903, allocations: 1.298 MB / 0.7324 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.9906, allocations: 202.6 kB / 0.7326 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.776, allocations: 0.5469 kB / 0.7326 GB, free: 14.2 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)