Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001946/0.001946, allocations: 77.62 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002615/0.002615, allocations: 160.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.529/1.529, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8123/0.8123, allocations: 101.3 MB / 361.1 MB, free: 9.535 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 66.97 kB / 0.5356 GB, free: 5.219 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1887, allocations: 85.89 MB / 0.6195 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5885/0.7772, allocations: 119.6 MB / 0.7364 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02667/0.8039, allocations: 19.9 MB / 0.7558 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.8041, allocations: 0 / 0.7558 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.8044, allocations: 42.38 kB / 0.7558 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.8048, allocations: 101.7 kB / 0.7559 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02055/0.8253, allocations: 6.678 MB / 0.7625 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.8258, allocations: 247.9 kB / 0.7627 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.8258, allocations: 13.58 kB / 0.7627 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.8261, allocations: 143.8 kB / 0.7628 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.8263, allocations: 88.91 kB / 0.7629 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.8264, allocations: 7.781 kB / 0.7629 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02189/0.8482, allocations: 10.46 MB / 0.7731 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.8484, allocations: 32.33 kB / 0.7732 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.8485, allocations: 77.02 kB / 0.7733 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01738/0.8659, allocations: 6.163 MB / 0.7793 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.8659, allocations: 2.219 kB / 0.7793 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8659, allocations: 0 / 0.7793 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.8659, allocations: 4 kB / 0.7793 GB, free: 12.68 MB / 0.6231 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.004251/0.8702, allocations: 1.146 MB / 0.7804 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.8702, allocations: 14.67 kB / 0.7804 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.8713, allocations: 85.3 kB / 0.7805 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.8717, allocations: 167.6 kB / 0.7807 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.8718, allocations: 11.56 kB / 0.7807 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.8718, allocations: 19.09 kB / 0.7807 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.8731, allocations: 0.662 MB / 0.7813 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.8731, allocations: 3.938 kB / 0.7813 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.8731, allocations: 15.09 kB / 0.7813 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.8731, allocations: 5.438 kB / 0.7814 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.8743, allocations: 0.603 MB / 0.7819 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.8754, allocations: 0.6958 MB / 0.7826 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/0.8762, allocations: 232.7 kB / 0.7828 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.8763, allocations: 67.77 kB / 0.7829 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08869/0.965, allocations: 23.37 MB / 0.8057 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.9651, allocations: 34.56 kB / 0.8058 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.9651, allocations: 4 kB / 0.8058 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001692/0.9668, allocations: 419.9 kB / 0.8062 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.9668, allocations: 59.41 kB / 0.8062 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.9669, allocations: 129.8 kB / 0.8063 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.967, allocations: 33.7 kB / 0.8064 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.9671, allocations: 108.6 kB / 0.8065 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.9671, allocations: 91.22 kB / 0.8066 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.9673, allocations: 73.66 kB / 0.8066 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.9674, allocations: 330.8 kB / 0.807 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.9676, allocations: 75.95 kB / 0.807 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.9679, allocations: 129.1 kB / 0.8072 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.9683, allocations: 229.8 kB / 0.8074 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9683, allocations: 3.812 kB / 0.8074 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007227/0.9691, allocations: 297.2 kB / 0.8077 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.9691, allocations: 7.984 kB / 0.8077 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.9691, allocations: 4 kB / 0.8077 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9691, allocations: 0 / 0.8077 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.9694, allocations: 84.03 kB / 0.8077 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9694, allocations: 4 kB / 0.8078 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.9695, allocations: 15.89 kB / 0.8078 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.9696, allocations: 23.98 kB / 0.8078 GB, free: 4.234 MB / 0.6387 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 0.0001373/0.9697, allocations: 133.7 kB / 0.8079 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.9699, allocations: 19.89 kB / 0.8079 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.9728, allocations: 2.489 MB / 0.8104 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.9728, allocations: 11.98 kB / 0.8104 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9729, allocations: 0 / 0.8104 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.9729, allocations: 7.969 kB / 0.8104 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/0.9767, allocations: 3.533 MB / 0.8138 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9767, allocations: 3.938 kB / 0.8138 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.9771, allocations: 59.89 kB / 0.8139 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.9771, allocations: 0 / 0.8139 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.9772, allocations: 15.92 kB / 0.8139 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.9772, allocations: 0 / 0.8139 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9772, allocations: 0 / 0.8139 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.9781, allocations: 0.555 MB / 0.8145 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.9782, allocations: 67.56 kB / 0.8145 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.9782, allocations: 4 kB / 0.8145 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.9784, allocations: 16 kB / 0.8145 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.9785, allocations: 27.89 kB / 0.8146 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.9785, allocations: 12 kB / 0.8146 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.62e-05/0.9786, allocations: 95.27 kB / 0.8147 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.9786, allocations: 0 / 0.8147 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004631/0.9832, allocations: 1.656 MB / 0.8163 GB, free: 11.4 MB / 0.6544 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.007696/0.9909, allocations: 1.915 MB / 0.8182 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007594/0.9917, allocations: 320.3 kB / 0.8185 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9917, allocations: 0 / 0.8185 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.992, allocations: 192.5 kB / 0.8186 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.9926, allocations: 52.2 kB / 0.8187 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.9938, allocations: 0.6589 MB / 0.8193 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.9939, allocations: 160.7 kB / 0.8195 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005904/0.9945, allocations: 400.7 kB / 0.8199 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.9947, allocations: 44.48 kB / 0.8199 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.9947, allocations: 4 kB / 0.8199 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of Templates: time 0.08697/1.082, allocations: 56.91 MB / 0.8755 GB, free: 14.7 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.384592656046152] Failed to read output from testmodel.py, exit status != 0: 1.0898352259537205 1.105927599 0.23663629000000003 Calling exit ...