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.0009103/0.0009103, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.0009425/0.0009425, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9948/0.9948, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8191/0.8191, allocations: 154.9 MB / 415.9 MB, free: 260 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.332e-06/1.332e-06, allocations: 0 / 0.5219 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.448e-05, allocations: 6.031 kB / 0.5219 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1344/0.1345, allocations: 141.5 MB / 0.66 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001294/0.1346, allocations: 55.81 kB / 0.6601 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.1346, allocations: 0 / 0.6601 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.1348, allocations: 3.938 kB / 0.6601 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.227e-05/0.1348, allocations: 19.84 kB / 0.6601 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.1355, allocations: 223.1 kB / 0.6603 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.1356, allocations: 31.86 kB / 0.6603 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.1356, allocations: 11.97 kB / 0.6603 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.001e-05/0.1356, allocations: 15.92 kB / 0.6603 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.1357, allocations: 8 kB / 0.6604 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1357, allocations: 0 / 0.6604 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.136, allocations: 179.3 kB / 0.6605 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.136, allocations: 7.984 kB / 0.6605 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.136, allocations: 8 kB / 0.6605 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1362, allocations: 111.7 kB / 0.6606 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1362, allocations: 4 kB / 0.6606 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1362, allocations: 0 / 0.6606 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.1362, allocations: 0 / 0.6606 GB, free: 3.109 MB / 0.6198 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.0003107/0.1365, allocations: 372.2 kB / 0.661 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1366, allocations: 8.031 kB / 0.661 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.1368, allocations: 37.14 kB / 0.661 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.051e-05/0.1369, allocations: 108.6 kB / 0.6612 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.1369, allocations: 55.91 kB / 0.6612 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1369, allocations: 8.125 kB / 0.6612 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.765e-05/0.137, allocations: 80.09 kB / 0.6613 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-06/0.137, allocations: 0 / 0.6613 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.137, allocations: 0 / 0.6613 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.137, allocations: 0 / 0.6613 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.1371, allocations: 11.98 kB / 0.6613 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.1373, allocations: 240.4 kB / 0.6615 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.1374, allocations: 39.02 kB / 0.6616 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.1374, allocations: 11.75 kB / 0.6616 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.1375, allocations: 15.98 kB / 0.6616 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1375, allocations: 45.33 kB / 0.6616 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.1375, allocations: 0 / 0.6616 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001693/0.1376, allocations: 49.58 kB / 0.6617 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.1377, allocations: 55.34 kB / 0.6617 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/0.1377, allocations: 161.9 kB / 0.6619 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1378, allocations: 29.7 kB / 0.6619 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.138, allocations: 134.9 kB / 0.662 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.138, allocations: 11.95 kB / 0.6621 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.138, allocations: 23.36 kB / 0.6621 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1381, allocations: 492.1 kB / 0.6626 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-06/0.1381, allocations: 4 kB / 0.6626 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.1381, allocations: 31.05 kB / 0.6626 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.46e-05/0.1382, allocations: 38.94 kB / 0.6626 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1382, allocations: 0 / 0.6626 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.767e-05/0.1382, allocations: 57.62 kB / 0.6627 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1383, allocations: 4 kB / 0.6627 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1383, allocations: 0 / 0.6627 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.1383, allocations: 4 kB / 0.6627 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.042e-05/0.1383, allocations: 4 kB / 0.6627 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.1383, allocations: 0 / 0.6627 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.1383, allocations: 7.938 kB / 0.6627 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.1383, allocations: 0 / 0.6627 GB, free: 0.7734 MB / 0.6198 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.524e-05/0.1384, allocations: 164.5 kB / 0.6629 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.1384, allocations: 3.953 kB / 0.6629 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.1384, allocations: 11.39 kB / 0.6629 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1384, allocations: 4 kB / 0.6629 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1384, allocations: 0 / 0.6629 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1384, allocations: 0 / 0.6629 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.1386, allocations: 404.6 kB / 0.6633 GB, free: 144 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1386, allocations: 0 / 0.6633 GB, free: 144 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.1387, allocations: 4 kB / 0.6633 GB, free: 140 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1387, allocations: 0 / 0.6633 GB, free: 140 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.1387, allocations: 3.938 kB / 0.6633 GB, free: 136 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.1387, allocations: 0 / 0.6633 GB, free: 136 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1387, allocations: 8.062 kB / 0.6633 GB, free: 128 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.754e-05/0.1387, allocations: 84.06 kB / 0.6634 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-06/0.1387, allocations: 7.938 kB / 0.6634 GB, free: 8 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.1387, allocations: 0 / 0.6634 GB, free: 8 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.1388, allocations: 4 kB / 0.6634 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.1388, allocations: 3.984 kB / 0.6634 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.1388, allocations: 0 / 0.6634 GB, free: 0 / 0.6198 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.1388, allocations: 127.2 kB / 0.6635 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1388, allocations: 0 / 0.6635 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001205/0.139, allocations: 8 kB / 0.6635 GB, free: 15.86 MB / 0.6355 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.0001035/0.1391, allocations: 111.2 kB / 0.6636 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.977e-05/0.1391, allocations: 19.62 kB / 0.6636 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1391, allocations: 0 / 0.6636 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-06/0.1391, allocations: 15.62 kB / 0.6636 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.1393, allocations: 12.3 kB / 0.6636 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.1396, allocations: 126.2 kB / 0.6638 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.1397, allocations: 59.2 kB / 0.6638 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.1397, allocations: 8.406 kB / 0.6638 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.1398, allocations: 94.11 kB / 0.6639 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.1398, allocations: 0 / 0.6639 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.004014/0.1438, allocations: 0.7835 MB / 0.6647 GB, free: 14.6 MB / 0.6355 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: 4.184900211170316]