Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirProperties.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.00113/0.00113, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001337/0.001337, allocations: 170 kB / 23.27 MB, free: 1.227 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.045/1.045, allocations: 177.2 MB / 203.7 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.8312/0.8312, allocations: 154.9 MB / 415.1 MB, free: 252 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.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirProperties") translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.519e-05, allocations: 4.844 kB / 0.5212 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1349/0.1349, allocations: 142.3 MB / 0.6601 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003795/0.1387, allocations: 3.769 MB / 0.6638 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1388, allocations: 0 / 0.6638 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1392, allocations: 59.59 kB / 0.6638 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.1395, allocations: 155 kB / 0.664 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.142, allocations: 1.145 MB / 0.6651 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.1424, allocations: 343.5 kB / 0.6654 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.1425, allocations: 9.812 kB / 0.6654 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.143, allocations: 259.1 kB / 0.6657 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1432, allocations: 127.6 kB / 0.6658 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1432, allocations: 11.94 kB / 0.6658 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.1449, allocations: 1.086 MB / 0.6669 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1451, allocations: 79.78 kB / 0.667 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.709e-05/0.1451, allocations: 79.83 kB / 0.667 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.1467, allocations: 0.6503 MB / 0.6677 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1467, allocations: 0 / 0.6677 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1467, allocations: 0 / 0.6677 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1467, allocations: 0 / 0.6677 GB, free: 11.09 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001029/0.1477, allocations: 0.6242 MB / 0.6683 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1477, allocations: 8.031 kB / 0.6683 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004041/0.1518, allocations: 228.2 kB / 0.6685 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.152, allocations: 164.3 kB / 0.6687 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.152, allocations: 16.73 kB / 0.6687 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.1521, allocations: 24.38 kB / 0.6687 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.1525, allocations: 485.8 kB / 0.6692 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1525, allocations: 0 / 0.6692 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.1526, allocations: 12 kB / 0.6692 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.1526, allocations: 19.92 kB / 0.6692 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.1529, allocations: 154.3 kB / 0.6693 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1539, allocations: 1.055 MB / 0.6704 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.1542, allocations: 114.9 kB / 0.6705 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.1542, allocations: 43.69 kB / 0.6705 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.1544, allocations: 83.86 kB / 0.6706 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1544, allocations: 41.39 kB / 0.6706 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 2.315e-06/0.1544, allocations: 4 kB / 0.6706 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.0003312/0.1548, allocations: 167.2 kB / 0.6708 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.1548, allocations: 55.41 kB / 0.6709 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.1549, allocations: 219.3 kB / 0.6711 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.1549, allocations: 29.81 kB / 0.6711 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.155, allocations: 206.9 kB / 0.6713 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.155, allocations: 79.27 kB / 0.6714 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.1551, allocations: 59.33 kB / 0.6714 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1552, allocations: 0.4923 MB / 0.6719 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.1553, allocations: 28.25 kB / 0.6719 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.1554, allocations: 156.4 kB / 0.6721 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1555, allocations: 206 kB / 0.6723 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1555, allocations: 0 / 0.6723 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002641/0.1558, allocations: 216.1 kB / 0.6725 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1558, allocations: 4 kB / 0.6725 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1558, allocations: 4 kB / 0.6725 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1558, allocations: 4.375 kB / 0.6725 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1559, allocations: 51.92 kB / 0.6725 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1559, allocations: 7.984 kB / 0.6726 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.575e-05/0.156, allocations: 35.67 kB / 0.6726 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1561, allocations: 12 kB / 0.6726 GB, free: 5.648 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.599e-05/0.1562, allocations: 180.4 kB / 0.6728 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.1562, allocations: 31.83 kB / 0.6728 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.1565, allocations: 170.8 kB / 0.673 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-06/0.1565, allocations: 0 / 0.673 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1565, allocations: 8 kB / 0.673 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1565, allocations: 4 kB / 0.673 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.1568, allocations: 444.3 kB / 0.6734 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1569, allocations: 0 / 0.6734 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.1569, allocations: 31.92 kB / 0.6734 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1569, allocations: 0 / 0.6734 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1569, allocations: 8 kB / 0.6734 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1569, allocations: 0 / 0.6734 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1569, allocations: 7.875 kB / 0.6734 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.1573, allocations: 327 kB / 0.6738 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.1573, allocations: 39.88 kB / 0.6738 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1573, allocations: 4 kB / 0.6738 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1574, allocations: 13.88 kB / 0.6738 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.1574, allocations: 15.92 kB / 0.6738 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1575, allocations: 15.98 kB / 0.6738 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003229/0.1578, allocations: 151.1 kB / 0.674 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1578, allocations: 0 / 0.674 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003783/0.1582, allocations: 131.7 kB / 0.6741 GB, free: 4.016 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003275/0.1585, allocations: 226.9 kB / 0.6743 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1587, allocations: 123.3 kB / 0.6744 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1587, allocations: 0 / 0.6744 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.1588, allocations: 63.59 kB / 0.6745 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1591, allocations: 85.28 kB / 0.6746 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.1599, allocations: 433.5 kB / 0.675 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.168e-05/0.1599, allocations: 88.62 kB / 0.6751 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.1601, allocations: 41.61 kB / 0.6751 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.1603, allocations: 174.1 kB / 0.6753 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of SimCode: time 9.31e-07/0.1603, allocations: 0 / 0.6753 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.298/0.4583, allocations: 5.854 MB / 0.681 GB, free: 59.37 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.355856773909181]