Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.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.0009408/0.0009408, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001075/0.001075, allocations: 181 kB / 23.36 MB, free: 1.129 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.9154/0.9154, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.7587/0.7587, allocations: 154.9 MB / 415.1 MB, free: 264 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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 480.4 MB, free: 6.574 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.024e-05, allocations: 2.312 kB / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1167/0.1168, allocations: 131.3 MB / 0.5974 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.1354, allocations: 22.26 MB / 0.6191 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.1355, allocations: 0 / 0.6191 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1358, allocations: 47.67 kB / 0.6191 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1361, allocations: 99.3 kB / 0.6192 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01397/0.15, allocations: 7.046 MB / 0.6261 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.1504, allocations: 255.7 kB / 0.6264 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.1504, allocations: 10.45 kB / 0.6264 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1507, allocations: 187.4 kB / 0.6265 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1508, allocations: 75.78 kB / 0.6266 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1509, allocations: 8 kB / 0.6266 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0152/0.1661, allocations: 11.13 MB / 0.6375 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1662, allocations: 39.89 kB / 0.6375 GB, free: 9.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1663, allocations: 59.84 kB / 0.6376 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.181, allocations: 8.353 MB / 0.6458 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.181, allocations: 4 kB / 0.6458 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.181, allocations: 3.984 kB / 0.6458 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.181, allocations: 0 / 0.6458 GB, free: 1.469 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003016/0.1841, allocations: 1.142 MB / 0.6469 GB, free: 304 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1841, allocations: 16.03 kB / 0.6469 GB, free: 288 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006739/0.1848, allocations: 164.3 kB / 0.647 GB, free: 124 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.185, allocations: 165.5 kB / 0.6472 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.185, allocations: 8.375 kB / 0.6472 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1851, allocations: 16.38 kB / 0.6472 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.1857, allocations: 0.6004 MB / 0.6478 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1857, allocations: 0 / 0.6478 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1858, allocations: 8 kB / 0.6478 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1858, allocations: 4 kB / 0.6478 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.1863, allocations: 398.3 kB / 0.6482 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.1869, allocations: 0.6091 MB / 0.6488 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.1873, allocations: 227.4 kB / 0.649 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.1873, allocations: 40.84 kB / 0.6491 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04281/0.2301, allocations: 24.79 MB / 0.6733 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.2302, allocations: 42.5 kB / 0.6733 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.2302, allocations: 0 / 0.6733 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.0008538/0.231, allocations: 380.7 kB / 0.6737 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.231, allocations: 55.41 kB / 0.6737 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.2311, allocations: 122.7 kB / 0.6738 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.2312, allocations: 33.7 kB / 0.6739 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.2312, allocations: 116.5 kB / 0.674 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.2313, allocations: 95.12 kB / 0.6741 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.2313, allocations: 73.66 kB / 0.6741 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.2314, allocations: 326.8 kB / 0.6745 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.2315, allocations: 59.94 kB / 0.6745 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2316, allocations: 105.1 kB / 0.6746 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.2318, allocations: 196.9 kB / 0.6748 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2318, allocations: 0 / 0.6748 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003128/0.2321, allocations: 233.8 kB / 0.675 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2321, allocations: 8 kB / 0.675 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2321, allocations: 0 / 0.675 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2321, allocations: 4 kB / 0.675 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2323, allocations: 63.88 kB / 0.6751 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2323, allocations: 4 kB / 0.6751 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.2323, allocations: 23.77 kB / 0.6751 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.2324, allocations: 15.98 kB / 0.6751 GB, free: 3.074 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 8.895e-05/0.2325, allocations: 128.8 kB / 0.6753 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2326, allocations: 51.62 kB / 0.6753 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009587/0.2335, allocations: 1.362 MB / 0.6766 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.2335, allocations: 11.98 kB / 0.6766 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2335, allocations: 8 kB / 0.6767 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2336, allocations: 3.984 kB / 0.6767 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2783/0.5119, allocations: 1.732 MB / 0.6784 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.5119, allocations: 2.953 kB / 0.6784 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.5121, allocations: 56.22 kB / 0.6784 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5121, allocations: 1.188 kB / 0.6784 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.5121, allocations: 5.922 kB / 0.6784 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.5121, allocations: 1.531 kB / 0.6784 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5121, allocations: 0.9375 kB / 0.6784 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.5127, allocations: 436.1 kB / 0.6788 GB, free: 70.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5128, allocations: 56.27 kB / 0.6789 GB, free: 70.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.5128, allocations: 7.906 kB / 0.6789 GB, free: 70.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.513, allocations: 10.11 kB / 0.6789 GB, free: 70.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.513, allocations: 14.67 kB / 0.6789 GB, free: 70.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.513, allocations: 13.91 kB / 0.6789 GB, free: 70.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.5131, allocations: 23.83 kB / 0.679 GB, free: 70.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5131, allocations: 0.6562 kB / 0.679 GB, free: 70.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00344/0.5165, allocations: 1.723 MB / 0.6806 GB, free: 70.83 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004547/0.521, allocations: 2.341 MB / 0.6829 GB, free: 70.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.5214, allocations: 212.8 kB / 0.6831 GB, free: 70.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.5214, allocations: 0.6562 kB / 0.6831 GB, free: 70.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.5215, allocations: 122.8 kB / 0.6832 GB, free: 70.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.5218, allocations: 89.44 kB / 0.6833 GB, free: 70.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.5226, allocations: 0.5604 MB / 0.6839 GB, free: 70.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.5226, allocations: 101.8 kB / 0.684 GB, free: 70.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003209/0.5229, allocations: 406.5 kB / 0.6844 GB, free: 70.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.5232, allocations: 148.4 kB / 0.6845 GB, free: 70.28 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/0.5232, allocations: 0 / 0.6845 GB, free: 70.28 MB / 0.6355 GB Notification: Performance of Templates: time 0.05553/0.5787, allocations: 68.78 MB / 0.7517 GB, free: 37.97 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.997571100015193]