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.0009762/0.0009762, allocations: 80.94 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.001079/0.001079, allocations: 177 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.031/1.031, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.8265/0.8265, allocations: 154.9 MB / 415.1 MB, free: 228 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 1.583e-06/1.583e-06, allocations: 0 / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.277e-05, allocations: 7.969 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.128/0.128, allocations: 143.6 MB / 0.6094 GB, free: 6.812 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0001255/0.1281, allocations: 51.75 kB / 0.6094 GB, free: 6.762 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.1282, allocations: 0 / 0.6094 GB, free: 6.762 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 9.382e-05/0.1283, allocations: 8 kB / 0.6094 GB, free: 6.754 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/0.1283, allocations: 19.78 kB / 0.6094 GB, free: 6.734 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.1289, allocations: 223.1 kB / 0.6096 GB, free: 6.516 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.129, allocations: 31.84 kB / 0.6097 GB, free: 6.484 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.168e-05/0.129, allocations: 8 kB / 0.6097 GB, free: 6.477 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.129, allocations: 19.91 kB / 0.6097 GB, free: 6.457 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.1291, allocations: 11.98 kB / 0.6097 GB, free: 6.445 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.1291, allocations: 0 / 0.6097 GB, free: 6.445 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.1294, allocations: 175.3 kB / 0.6099 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.1294, allocations: 7.984 kB / 0.6099 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.533e-05/0.1294, allocations: 8 kB / 0.6099 GB, free: 6.258 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1296, allocations: 107.7 kB / 0.61 GB, free: 6.152 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1296, allocations: 8 kB / 0.61 GB, free: 6.145 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1296, allocations: 0 / 0.61 GB, free: 6.145 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1296, allocations: 0 / 0.61 GB, free: 6.145 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.0002265/0.1298, allocations: 240.6 kB / 0.6102 GB, free: 5.887 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1299, allocations: 16.02 kB / 0.6102 GB, free: 5.871 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.1301, allocations: 32.84 kB / 0.6103 GB, free: 5.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.509e-05/0.1302, allocations: 106.1 kB / 0.6104 GB, free: 5.711 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.1302, allocations: 55.97 kB / 0.6104 GB, free: 5.645 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1302, allocations: 8.125 kB / 0.6104 GB, free: 5.637 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.929e-05/0.1303, allocations: 90.84 kB / 0.6105 GB, free: 5.531 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.1303, allocations: 0 / 0.6105 GB, free: 5.531 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.1303, allocations: 0 / 0.6105 GB, free: 5.531 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1303, allocations: 7.969 kB / 0.6105 GB, free: 5.523 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.1303, allocations: 11.94 kB / 0.6105 GB, free: 5.512 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.1305, allocations: 158 kB / 0.6107 GB, free: 5.34 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.074e-05/0.1306, allocations: 22.52 kB / 0.6107 GB, free: 5.309 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.1306, allocations: 16.89 kB / 0.6107 GB, free: 5.289 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.807e-05/0.1306, allocations: 20 kB / 0.6108 GB, free: 5.27 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1307, allocations: 30.56 kB / 0.6108 GB, free: 5.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1307, allocations: 0 / 0.6108 GB, free: 5.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001358/0.1308, allocations: 49.61 kB / 0.6108 GB, free: 5.176 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.1308, allocations: 55.41 kB / 0.6109 GB, free: 5.109 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.624e-05/0.1309, allocations: 102.7 kB / 0.611 GB, free: 4.996 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1309, allocations: 25.7 kB / 0.611 GB, free: 4.965 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.1309, allocations: 92.09 kB / 0.6111 GB, free: 4.871 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.1309, allocations: 16.05 kB / 0.6111 GB, free: 4.855 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.1309, allocations: 13.72 kB / 0.6111 GB, free: 4.836 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.131, allocations: 310.8 kB / 0.6114 GB, free: 4.523 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-06/0.131, allocations: 7.938 kB / 0.6114 GB, free: 4.516 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.131, allocations: 22.56 kB / 0.6114 GB, free: 4.484 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.1311, allocations: 29.39 kB / 0.6115 GB, free: 4.445 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1311, allocations: 3.938 kB / 0.6115 GB, free: 4.441 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.398e-05/0.1311, allocations: 53.66 kB / 0.6115 GB, free: 4.383 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.1311, allocations: 7.938 kB / 0.6115 GB, free: 4.375 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1311, allocations: 0 / 0.6115 GB, free: 4.375 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1311, allocations: 4 kB / 0.6115 GB, free: 4.371 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-05/0.1312, allocations: 4 kB / 0.6115 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.1312, allocations: 0 / 0.6115 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.1312, allocations: 7.938 kB / 0.6116 GB, free: 4.359 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1312, allocations: 3.984 kB / 0.6116 GB, free: 4.355 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.558e-05/0.1312, allocations: 116.6 kB / 0.6117 GB, free: 4.23 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1313, allocations: 0 / 0.6117 GB, free: 4.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.1313, allocations: 14.61 kB / 0.6117 GB, free: 4.215 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1313, allocations: 4 kB / 0.6117 GB, free: 4.211 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.1313, allocations: 0 / 0.6117 GB, free: 4.211 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.1313, allocations: 0 / 0.6117 GB, free: 4.211 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1314, allocations: 275.7 kB / 0.6119 GB, free: 3.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1314, allocations: 0 / 0.6119 GB, free: 3.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-06/0.1314, allocations: 4 kB / 0.612 GB, free: 3.906 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1314, allocations: 7.922 kB / 0.612 GB, free: 3.898 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.1314, allocations: 0 / 0.612 GB, free: 3.898 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1314, allocations: 4 kB / 0.612 GB, free: 3.895 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1314, allocations: 8.062 kB / 0.612 GB, free: 3.887 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.471e-05/0.1315, allocations: 69.86 kB / 0.612 GB, free: 3.797 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.1315, allocations: 7.984 kB / 0.612 GB, free: 3.789 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.1315, allocations: 0 / 0.612 GB, free: 3.789 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.1315, allocations: 0 / 0.612 GB, free: 3.789 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.1316, allocations: 4 kB / 0.612 GB, free: 3.785 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.1316, allocations: 0 / 0.612 GB, free: 3.785 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.019e-05/0.1316, allocations: 17.12 kB / 0.6121 GB, free: 3.766 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.1316, allocations: 0 / 0.6121 GB, free: 3.766 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001002/0.1317, allocations: 4 kB / 0.6121 GB, free: 3.762 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 7.772e-05/0.1317, allocations: 80.59 kB / 0.6121 GB, free: 3.676 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 4.314e-05/0.1318, allocations: 24.73 kB / 0.6122 GB, free: 3.648 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1318, allocations: 0 / 0.6122 GB, free: 3.648 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-06/0.1318, allocations: 12.84 kB / 0.6122 GB, free: 3.633 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.469e-05/0.1319, allocations: 8.312 kB / 0.6122 GB, free: 3.625 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.1322, allocations: 140 kB / 0.6123 GB, free: 3.461 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.711e-05/0.1322, allocations: 51.36 kB / 0.6124 GB, free: 3.391 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.039e-05/0.1323, allocations: 4 kB / 0.6124 GB, free: 3.387 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.1323, allocations: 75.28 kB / 0.6124 GB, free: 3.312 MB / 0.573 GB Notification: Performance of SimCode: time 5.91e-07/0.1323, allocations: 0 / 0.6124 GB, free: 3.312 MB / 0.573 GB Notification: Performance of Templates: time 0.00206/0.1344, allocations: 0.7708 MB / 0.6132 GB, free: 2.551 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6613571802154183]