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: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007023/0.007023, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001531/0.001532, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9465/0.9465, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 68.03 kB / 0.5053 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1586, allocations: 80.93 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4646/0.6232, allocations: 146 MB / 0.7269 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.6234, allocations: 49.83 kB / 0.727 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.6234, allocations: 0 / 0.727 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.6236, allocations: 1.266 kB / 0.727 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.6237, allocations: 14.53 kB / 0.727 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.6244, allocations: 196.1 kB / 0.7272 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.805e-05/0.6245, allocations: 66.52 kB / 0.7272 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.6245, allocations: 5.562 kB / 0.7272 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.6246, allocations: 12.16 kB / 0.7273 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.6246, allocations: 16.97 kB / 0.7273 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.6247, allocations: 1.406 kB / 0.7273 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.6251, allocations: 230.8 kB / 0.7275 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.6252, allocations: 6.047 kB / 0.7275 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.6252, allocations: 14.28 kB / 0.7275 GB, free: 3.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.6254, allocations: 78.62 kB / 0.7276 GB, free: 3.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6254, allocations: 0 / 0.7276 GB, free: 3.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6254, allocations: 0 / 0.7276 GB, free: 3.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.6254, allocations: 1.125 kB / 0.7276 GB, free: 3.031 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.0004007/0.6258, allocations: 341.9 kB / 0.7279 GB, free: 2.672 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.6259, allocations: 9.906 kB / 0.7279 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.6262, allocations: 28.58 kB / 0.7279 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/0.6263, allocations: 170.4 kB / 0.7281 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.6264, allocations: 33.45 kB / 0.7281 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.6264, allocations: 1.281 kB / 0.7281 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.6266, allocations: 48.19 kB / 0.7282 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.6266, allocations: 0 / 0.7282 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.6266, allocations: 1.125 kB / 0.7282 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.6267, allocations: 3.062 kB / 0.7282 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.6267, allocations: 24.25 kB / 0.7282 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.6271, allocations: 268.4 kB / 0.7285 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.043e-05/0.6272, allocations: 24.59 kB / 0.7285 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.6272, allocations: 7.766 kB / 0.7285 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.6274, allocations: 91.61 kB / 0.7286 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.6275, allocations: 36.56 kB / 0.7286 GB, free: 1.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6275, allocations: 0 / 0.7286 GB, free: 1.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002493/0.6278, allocations: 54.17 kB / 0.7287 GB, free: 1.887 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.6278, allocations: 52.98 kB / 0.7287 GB, free: 1.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.6279, allocations: 107.5 kB / 0.7288 GB, free: 1.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-05/0.628, allocations: 25.7 kB / 0.7289 GB, free: 1.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.6281, allocations: 98.64 kB / 0.729 GB, free: 1.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.6281, allocations: 5.219 kB / 0.729 GB, free: 1.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.6281, allocations: 19.38 kB / 0.729 GB, free: 1.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.6283, allocations: 316.6 kB / 0.7293 GB, free: 1.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.6283, allocations: 4.828 kB / 0.7293 GB, free: 1.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.6284, allocations: 22.2 kB / 0.7293 GB, free: 1.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.6285, allocations: 36.41 kB / 0.7293 GB, free: 1.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6285, allocations: 0 / 0.7293 GB, free: 1.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.521e-05/0.6286, allocations: 57.61 kB / 0.7294 GB, free: 1.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.6286, allocations: 4.969 kB / 0.7294 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.6287, allocations: 1.312 kB / 0.7294 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.6287, allocations: 2.094 kB / 0.7294 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.6287, allocations: 6.172 kB / 0.7294 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.6287, allocations: 1.828 kB / 0.7294 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.6288, allocations: 9.219 kB / 0.7294 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.6288, allocations: 2.281 kB / 0.7294 GB, free: 1.141 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 6.64e-05/0.6289, allocations: 108.5 kB / 0.7295 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.6289, allocations: 3.688 kB / 0.7295 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.6289, allocations: 7.641 kB / 0.7295 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6289, allocations: 1.062 kB / 0.7295 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6289, allocations: 4.734 kB / 0.7295 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6289, allocations: 5.062 kB / 0.7295 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.6292, allocations: 363.2 kB / 0.7299 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6293, allocations: 1.766 kB / 0.7299 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.6293, allocations: 13.69 kB / 0.7299 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6293, allocations: 9.672 kB / 0.7299 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.6293, allocations: 1.219 kB / 0.7299 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6293, allocations: 0.5625 kB / 0.7299 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6293, allocations: 1.281 kB / 0.7299 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.122e-05/0.6294, allocations: 70.88 kB / 0.73 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.6295, allocations: 78.78 kB / 0.7301 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.6295, allocations: 5.828 kB / 0.7301 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.96e-05/0.6296, allocations: 4.406 kB / 0.7301 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.6296, allocations: 2.984 kB / 0.7301 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.6296, allocations: 0 / 0.7301 GB, free: 436 kB / 0.545 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.6296, allocations: 88.66 kB / 0.7302 GB, free: 352 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.393e-06/0.6296, allocations: 0 / 0.7302 GB, free: 352 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002426/0.6299, allocations: 11 kB / 0.7302 GB, free: 348 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.0001217/0.63, allocations: 98.8 kB / 0.7303 GB, free: 260 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.6301, allocations: 15.5 kB / 0.7303 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6301, allocations: 0 / 0.7303 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.6301, allocations: 12 kB / 0.7303 GB, free: 248 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.6304, allocations: 11.92 kB / 0.7303 GB, free: 244 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.6307, allocations: 148.4 kB / 0.7304 GB, free: 88 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.6311, allocations: 0.6763 MB / 0.7311 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.6311, allocations: 8.625 kB / 0.7311 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.6311, allocations: 9.188 kB / 0.7311 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.002022/0.6331, allocations: 0.6039 MB / 0.7317 GB, free: 15.34 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)