Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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.001301/0.001301, allocations: 79.62 kB / 19.18 MB, free: 2.527 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.001408/0.001408, allocations: 164.5 kB / 22.46 MB, free: 5.359 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.361/1.361, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04784/0.04784, allocations: 7.516 MB / 266.7 MB, free: 9.652 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 392.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.538e-05, allocations: 2.281 kB / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01641/0.01643, allocations: 12.14 MB / 404.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02037/0.0368, allocations: 15.63 MB / 420 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.0369, allocations: 0 / 420 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.03709, allocations: 55.61 kB / 420 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.03723, allocations: 63.36 kB / 420.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01568/0.05291, allocations: 6.792 MB / 426.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.05316, allocations: 182.8 kB / 427.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.0532, allocations: 13.66 kB / 427.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.05341, allocations: 95.67 kB / 427.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.05351, allocations: 55.83 kB / 427.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.05353, allocations: 4 kB / 427.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01771/0.07124, allocations: 10.34 MB / 437.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.07127, allocations: 11.94 kB / 437.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.07135, allocations: 47.86 kB / 437.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.08391, allocations: 7.804 MB / 445.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.08391, allocations: 0 / 445.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08391, allocations: 0 / 445.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.08391, allocations: 0 / 445.4 MB, free: 5.035 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.003564/0.08748, allocations: 1.307 MB / 446.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.08752, allocations: 12.62 kB / 446.8 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.08768, allocations: 24.83 kB / 446.8 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.08797, allocations: 173.5 kB / 447 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.08798, allocations: 4.375 kB / 447 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.08801, allocations: 16.31 kB / 447 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009823/0.08899, allocations: 323 kB / 447.3 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.089, allocations: 3.938 kB / 447.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.08902, allocations: 0 / 447.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.08903, allocations: 4 kB / 447.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.09007, allocations: 315.6 kB / 447.6 MB, free: 2.785 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/0.09103, allocations: 0.786 MB / 448.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009375/0.09197, allocations: 291.6 kB / 448.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.09222, allocations: 86.52 kB / 448.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5434/0.6356, allocations: 122.7 MB / 0.558 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.6356, allocations: 42.5 kB / 0.5581 GB, free: 2.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.6356, allocations: 0 / 0.5581 GB, free: 2.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.00199/0.6376, allocations: 495.3 kB / 0.5585 GB, free: 2.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.6377, allocations: 106.7 kB / 0.5586 GB, free: 1.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.6379, allocations: 160.9 kB / 0.5588 GB, free: 1.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.6379, allocations: 25.7 kB / 0.5588 GB, free: 1.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.638, allocations: 111.9 kB / 0.5589 GB, free: 1.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.638, allocations: 45 kB / 0.559 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.6381, allocations: 41.66 kB / 0.559 GB, free: 1.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6382, allocations: 322.8 kB / 0.5593 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.6384, allocations: 59.97 kB / 0.5594 GB, free: 1.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.6387, allocations: 116.9 kB / 0.5595 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.6392, allocations: 177.6 kB / 0.5596 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6392, allocations: 0 / 0.5596 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000594/0.6398, allocations: 213.3 kB / 0.5599 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6398, allocations: 4 kB / 0.5599 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6398, allocations: 4 kB / 0.5599 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6398, allocations: 0 / 0.5599 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.64, allocations: 51.91 kB / 0.5599 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.6401, allocations: 3.984 kB / 0.5599 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.6402, allocations: 19.94 kB / 0.5599 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.6402, allocations: 12.16 kB / 0.5599 GB, free: 0.4961 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000115/0.6404, allocations: 129.8 kB / 0.5601 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.6404, allocations: 15.84 kB / 0.5601 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.6419, allocations: 1.198 MB / 0.5613 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/0.6419, allocations: 15.98 kB / 0.5613 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6419, allocations: 7.984 kB / 0.5613 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6419, allocations: 4 kB / 0.5613 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006436/0.6425, allocations: 0.4963 MB / 0.5618 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6425, allocations: 3.938 kB / 0.5618 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.6427, allocations: 35.91 kB / 0.5618 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.6427, allocations: 0 / 0.5618 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.6427, allocations: 11.94 kB / 0.5618 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6427, allocations: 0 / 0.5618 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6427, allocations: 0 / 0.5618 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.6438, allocations: 0.8767 MB / 0.5627 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.6439, allocations: 59.56 kB / 0.5627 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.644, allocations: 7.922 kB / 0.5627 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.6442, allocations: 16.61 kB / 0.5628 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.6443, allocations: 19.97 kB / 0.5628 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.6443, allocations: 4 kB / 0.5628 GB, free: 13.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.806e-05/0.6444, allocations: 119.4 kB / 0.5629 GB, free: 13.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6444, allocations: 0 / 0.5629 GB, free: 13.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003757/0.6481, allocations: 1.458 MB / 0.5643 GB, free: 11.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006452/0.6546, allocations: 1.916 MB / 0.5662 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007437/0.6553, allocations: 311 kB / 0.5665 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6553, allocations: 0 / 0.5665 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.6557, allocations: 220.8 kB / 0.5667 GB, free: 9.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.6563, allocations: 48.19 kB / 0.5667 GB, free: 9.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.6573, allocations: 0.7496 MB / 0.5675 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.6575, allocations: 190.2 kB / 0.5676 GB, free: 8.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.6577, allocations: 122 kB / 0.5678 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.6578, allocations: 24.5 kB / 0.5678 GB, free: 8.52 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.6578, allocations: 0 / 0.5678 GB, free: 8.52 MB / 430.1 MB Notification: Performance of Templates: time 0.07247/0.7302, allocations: 51.47 MB / 0.6181 GB, free: 5.098 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.14173324406147] Failed to read output from testmodel.py, exit status != 0: 0.7386763915419579 0.8900733 0.803477988 Calling exit ...