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.0007925/0.0007925, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009426/0.0009426, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9623/0.9623, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8345/0.8345, allocations: 154.9 MB / 414.8 MB, free: 420 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.543e-06/1.543e-06, allocations: 0 / 0.5207 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.15e-05, allocations: 4.562 kB / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1561/0.1561, allocations: 145 MB / 0.6623 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.1592, allocations: 3.793 MB / 0.666 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1593, allocations: 0 / 0.666 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.1597, allocations: 67.53 kB / 0.6661 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.16, allocations: 147.1 kB / 0.6662 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.1622, allocations: 1.159 MB / 0.6673 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.1626, allocations: 343.5 kB / 0.6677 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.1626, allocations: 5.812 kB / 0.6677 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.1634, allocations: 263 kB / 0.6679 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1635, allocations: 119.7 kB / 0.668 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1635, allocations: 8 kB / 0.668 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.165, allocations: 1.098 MB / 0.6691 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1651, allocations: 79.78 kB / 0.6692 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.1652, allocations: 79.83 kB / 0.6693 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008935/0.1661, allocations: 0.6426 MB / 0.6699 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1661, allocations: 0 / 0.6699 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1661, allocations: 0 / 0.6699 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1661, allocations: 0 / 0.6699 GB, free: 8.723 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.0008045/0.1669, allocations: 0.6241 MB / 0.6705 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1669, allocations: 16.03 kB / 0.6705 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007107/0.1676, allocations: 224.2 kB / 0.6707 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1678, allocations: 168.3 kB / 0.6709 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1679, allocations: 16.75 kB / 0.6709 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1679, allocations: 24.38 kB / 0.6709 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.1683, allocations: 0.494 MB / 0.6714 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1683, allocations: 0 / 0.6714 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.1683, allocations: 8 kB / 0.6714 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.1684, allocations: 12 kB / 0.6714 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.1686, allocations: 188.8 kB / 0.6716 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009994/0.1696, allocations: 1.089 MB / 0.6727 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.1699, allocations: 126.9 kB / 0.6728 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.17, allocations: 56.27 kB / 0.6728 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.1702, allocations: 71.94 kB / 0.6729 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1702, allocations: 37.39 kB / 0.6729 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.1702, allocations: 0 / 0.6729 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.0003832/0.1706, allocations: 191.5 kB / 0.6731 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.1706, allocations: 55.41 kB / 0.6732 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1708, allocations: 224.7 kB / 0.6734 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1708, allocations: 37.69 kB / 0.6734 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.1709, allocations: 194.9 kB / 0.6736 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.1709, allocations: 83.33 kB / 0.6737 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.171, allocations: 55.36 kB / 0.6738 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1711, allocations: 0.4923 MB / 0.6742 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.1711, allocations: 28.27 kB / 0.6743 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1712, allocations: 160.5 kB / 0.6744 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1714, allocations: 215.6 kB / 0.6746 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1714, allocations: 4 kB / 0.6746 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006139/0.172, allocations: 239.9 kB / 0.6748 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.172, allocations: 10.19 kB / 0.6749 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1721, allocations: 0 / 0.6749 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1721, allocations: 8 kB / 0.6749 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1722, allocations: 51.92 kB / 0.6749 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1722, allocations: 7.938 kB / 0.6749 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/0.1723, allocations: 36.09 kB / 0.675 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.1723, allocations: 12 kB / 0.675 GB, free: 3.105 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 8.1e-05/0.1724, allocations: 176.5 kB / 0.6751 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.1725, allocations: 35.83 kB / 0.6752 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.1727, allocations: 186.8 kB / 0.6754 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1727, allocations: 4.109 kB / 0.6754 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1727, allocations: 3.938 kB / 0.6754 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1727, allocations: 3.938 kB / 0.6754 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.1731, allocations: 483.8 kB / 0.6758 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1731, allocations: 64 / 0.6758 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.1732, allocations: 39.92 kB / 0.6759 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1732, allocations: 0 / 0.6759 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1732, allocations: 7.938 kB / 0.6759 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1732, allocations: 0 / 0.6759 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1732, allocations: 0 / 0.6759 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1735, allocations: 351 kB / 0.6762 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.1736, allocations: 35.81 kB / 0.6762 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1736, allocations: 7.938 kB / 0.6762 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1737, allocations: 8 kB / 0.6763 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.1737, allocations: 15.97 kB / 0.6763 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.1737, allocations: 23.98 kB / 0.6763 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.1738, allocations: 147.2 kB / 0.6764 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1738, allocations: 0 / 0.6764 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000306/0.1741, allocations: 131.7 kB / 0.6766 GB, free: 1.387 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.00031/0.1744, allocations: 222.9 kB / 0.6768 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1746, allocations: 149.1 kB / 0.6769 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1746, allocations: 0 / 0.6769 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.1747, allocations: 67.59 kB / 0.677 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.175, allocations: 92.72 kB / 0.6771 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.1758, allocations: 425.5 kB / 0.6775 GB, free: 408 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.725e-05/0.1758, allocations: 84.69 kB / 0.6776 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.176, allocations: 49.59 kB / 0.6776 GB, free: 256 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.176, allocations: 24.5 kB / 0.6776 GB, free: 232 kB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.176, allocations: 4 kB / 0.6776 GB, free: 228 kB / 0.6355 GB Notification: Performance of Templates: time 0.2824/0.4584, allocations: 5.711 MB / 0.6832 GB, free: 56.96 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.41497504664585]