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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003469/0.003469, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7828/0.7828, allocations: 154.9 MB / 415.1 MB, free: 224 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 480.3 MB, free: 6.602 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.537e-05, allocations: 5.375 kB / 480.3 MB, free: 6.598 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1422/0.1422, allocations: 143.6 MB / 0.6093 GB, free: 6.922 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.1424, allocations: 51.7 kB / 0.6093 GB, free: 6.871 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.1424, allocations: 4 kB / 0.6093 GB, free: 6.867 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1425, allocations: 3.984 kB / 0.6093 GB, free: 6.863 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.1426, allocations: 11.92 kB / 0.6093 GB, free: 6.852 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.1432, allocations: 231 kB / 0.6095 GB, free: 6.625 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.1433, allocations: 35.84 kB / 0.6096 GB, free: 6.59 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.1433, allocations: 0 / 0.6096 GB, free: 6.59 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.1433, allocations: 19.98 kB / 0.6096 GB, free: 6.57 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.1434, allocations: 15.91 kB / 0.6096 GB, free: 6.555 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1434, allocations: 8 kB / 0.6096 GB, free: 6.547 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.1437, allocations: 163.4 kB / 0.6098 GB, free: 6.387 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.1437, allocations: 11.92 kB / 0.6098 GB, free: 6.375 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.1437, allocations: 4 kB / 0.6098 GB, free: 6.371 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1439, allocations: 119.6 kB / 0.6099 GB, free: 6.254 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1439, allocations: 0 / 0.6099 GB, free: 6.254 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1439, allocations: 0 / 0.6099 GB, free: 6.254 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.1439, allocations: 0 / 0.6099 GB, free: 6.254 MB / 0.573 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.0002645/0.1442, allocations: 244.6 kB / 0.6101 GB, free: 5.992 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1442, allocations: 8.031 kB / 0.6102 GB, free: 5.984 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.1444, allocations: 40.83 kB / 0.6102 GB, free: 5.945 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.444e-05/0.1445, allocations: 114.1 kB / 0.6103 GB, free: 5.809 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.1446, allocations: 51.97 kB / 0.6103 GB, free: 5.746 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1446, allocations: 8.125 kB / 0.6104 GB, free: 5.738 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.1447, allocations: 86.84 kB / 0.6104 GB, free: 5.637 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.1447, allocations: 0 / 0.6104 GB, free: 5.637 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.1447, allocations: 0 / 0.6104 GB, free: 5.637 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.1447, allocations: 4 kB / 0.6104 GB, free: 5.633 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.1447, allocations: 11.98 kB / 0.6105 GB, free: 5.621 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.1449, allocations: 158 kB / 0.6106 GB, free: 5.449 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.38e-05/0.1449, allocations: 22.52 kB / 0.6106 GB, free: 5.418 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.126e-05/0.145, allocations: 8.797 kB / 0.6106 GB, free: 5.406 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.145e-05/0.145, allocations: 24.09 kB / 0.6107 GB, free: 5.383 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.145, allocations: 30.56 kB / 0.6107 GB, free: 5.344 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.145, allocations: 4 kB / 0.6107 GB, free: 5.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001323/0.1452, allocations: 49.62 kB / 0.6107 GB, free: 5.285 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.1452, allocations: 51.41 kB / 0.6108 GB, free: 5.223 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.493e-05/0.1453, allocations: 106.7 kB / 0.6109 GB, free: 5.105 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.1453, allocations: 25.7 kB / 0.6109 GB, free: 5.074 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.1453, allocations: 88.09 kB / 0.611 GB, free: 4.984 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-06/0.1453, allocations: 7.953 kB / 0.611 GB, free: 4.977 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.1453, allocations: 21.69 kB / 0.611 GB, free: 4.949 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.1454, allocations: 310.8 kB / 0.6113 GB, free: 4.637 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-06/0.1454, allocations: 11.88 kB / 0.6113 GB, free: 4.625 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.1454, allocations: 22.7 kB / 0.6114 GB, free: 4.594 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.1454, allocations: 29.39 kB / 0.6114 GB, free: 4.555 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1454, allocations: 3.938 kB / 0.6114 GB, free: 4.551 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.763e-05/0.1455, allocations: 53.56 kB / 0.6114 GB, free: 4.492 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.1455, allocations: 4 kB / 0.6114 GB, free: 4.488 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.1455, allocations: 8 kB / 0.6114 GB, free: 4.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1455, allocations: 0 / 0.6114 GB, free: 4.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.075e-05/0.1456, allocations: 8.094 kB / 0.6115 GB, free: 4.473 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.1456, allocations: 4 kB / 0.6115 GB, free: 4.469 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.1456, allocations: 0 / 0.6115 GB, free: 4.469 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-06/0.1456, allocations: 0 / 0.6115 GB, free: 4.469 MB / 0.573 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 4.862e-05/0.1456, allocations: 120.6 kB / 0.6116 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.1456, allocations: 3.984 kB / 0.6116 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.1457, allocations: 14.55 kB / 0.6116 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1457, allocations: 0 / 0.6116 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1457, allocations: 0 / 0.6116 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1457, allocations: 0 / 0.6116 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1458, allocations: 283.6 kB / 0.6119 GB, free: 4.012 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1458, allocations: 288 / 0.6119 GB, free: 4.012 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-06/0.1458, allocations: 4 kB / 0.6119 GB, free: 4.008 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.1458, allocations: 0 / 0.6119 GB, free: 4.008 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.1458, allocations: 0 / 0.6119 GB, free: 4.008 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1458, allocations: 4 kB / 0.6119 GB, free: 4.004 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1458, allocations: 0 / 0.6119 GB, free: 4.004 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.372e-05/0.1459, allocations: 73.84 kB / 0.6119 GB, free: 3.91 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-06/0.1459, allocations: 7.984 kB / 0.6119 GB, free: 3.902 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.1459, allocations: 3.984 kB / 0.612 GB, free: 3.898 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.1459, allocations: 8.094 kB / 0.612 GB, free: 3.891 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-06/0.1459, allocations: 0 / 0.612 GB, free: 3.891 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-06/0.1459, allocations: 0 / 0.612 GB, free: 3.891 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.336e-06/0.1459, allocations: 8.859 kB / 0.612 GB, free: 3.879 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1459, allocations: 0 / 0.612 GB, free: 3.879 MB / 0.573 GB Notification: Performance of remove unused functions: time 9.957e-05/0.146, allocations: 12 kB / 0.612 GB, free: 3.867 MB / 0.573 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 8.916e-05/0.1461, allocations: 80.41 kB / 0.6121 GB, free: 3.781 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 5.05e-05/0.1462, allocations: 24.73 kB / 0.6121 GB, free: 3.754 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1462, allocations: 3.938 kB / 0.6121 GB, free: 3.75 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-06/0.1462, allocations: 8.859 kB / 0.6121 GB, free: 3.738 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.671e-05/0.1463, allocations: 15.92 kB / 0.6121 GB, free: 3.723 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.1466, allocations: 132.3 kB / 0.6122 GB, free: 3.566 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.76e-05/0.1466, allocations: 59.36 kB / 0.6123 GB, free: 3.488 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.8e-05/0.1466, allocations: 0 / 0.6123 GB, free: 3.488 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.1467, allocations: 63.34 kB / 0.6124 GB, free: 3.426 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/0.1467, allocations: 0 / 0.6124 GB, free: 3.426 MB / 0.573 GB Notification: Performance of Templates: time 0.002029/0.1487, allocations: 0.7813 MB / 0.6131 GB, free: 2.656 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.781184219289571]