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.0007624/0.0007624, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000766/0.000766, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8717/0.8717, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 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.0279/0.0279, allocations: 7.518 MB / 267.5 MB, free: 6.195 MB / 250.7 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.713e-06/1.713e-06, allocations: 0 / 393 MB, free: 5.883 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.867e-05, allocations: 2.281 kB / 393 MB, free: 5.879 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01302/0.01304, allocations: 12.15 MB / 405.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.02493, allocations: 15.63 MB / 420.8 MB, free: 9.992 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.02502, allocations: 0 / 420.8 MB, free: 9.992 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.02519, allocations: 51.61 kB / 420.8 MB, free: 9.941 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.0253, allocations: 75.33 kB / 420.9 MB, free: 9.867 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01125/0.03654, allocations: 6.785 MB / 427.7 MB, free: 3.082 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.03672, allocations: 186.7 kB / 427.9 MB, free: 2.898 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.03676, allocations: 9.672 kB / 427.9 MB, free: 2.887 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.03691, allocations: 91.72 kB / 428 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.866e-05/0.03698, allocations: 51.84 kB / 428 MB, free: 2.746 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.03699, allocations: 4 kB / 428 MB, free: 2.742 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.04851, allocations: 10.34 MB / 438.3 MB, free: 8.387 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.04854, allocations: 15.92 kB / 438.4 MB, free: 8.371 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.0486, allocations: 51.84 kB / 438.4 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008902/0.0575, allocations: 7.796 MB / 446.2 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.05751, allocations: 0 / 446.2 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.05751, allocations: 0 / 446.2 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.05751, allocations: 0 / 446.2 MB, free: 0.5078 MB / 410.7 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.1386/0.1961, allocations: 1.308 MB / 447.5 MB, free: 89.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1962, allocations: 12.69 kB / 447.5 MB, free: 89.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.1963, allocations: 28.64 kB / 447.6 MB, free: 89.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1965, allocations: 163.5 kB / 447.7 MB, free: 89.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1965, allocations: 7.75 kB / 447.7 MB, free: 89.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1965, allocations: 14.06 kB / 447.7 MB, free: 89.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.1969, allocations: 320.7 kB / 448.1 MB, free: 89.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1969, allocations: 0 / 448.1 MB, free: 89.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.197, allocations: 3.219 kB / 448.1 MB, free: 89.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.197, allocations: 3.156 kB / 448.1 MB, free: 89.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.1974, allocations: 317.3 kB / 448.4 MB, free: 89.32 MB / 410.7 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.0004293/0.1979, allocations: 0.7868 MB / 449.2 MB, free: 88.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.1983, allocations: 293.6 kB / 449.4 MB, free: 88.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1984, allocations: 84.86 kB / 449.5 MB, free: 88.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1823/0.3807, allocations: 122.7 MB / 0.5588 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3808, allocations: 32.36 kB / 0.5588 GB, free: 11.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.744e-06/0.3808, allocations: 0 / 0.5588 GB, free: 11.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001058/0.3818, allocations: 0.4942 MB / 0.5593 GB, free: 11.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3819, allocations: 106.8 kB / 0.5594 GB, free: 11.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.382, allocations: 154.2 kB / 0.5595 GB, free: 11.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.382, allocations: 29.95 kB / 0.5596 GB, free: 10.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.382, allocations: 119.9 kB / 0.5597 GB, free: 10.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/0.3821, allocations: 31.7 kB / 0.5597 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.3822, allocations: 45.66 kB / 0.5597 GB, free: 10.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.3823, allocations: 322.8 kB / 0.5601 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3824, allocations: 55.94 kB / 0.5601 GB, free: 10.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.3826, allocations: 120.8 kB / 0.5602 GB, free: 10.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.3828, allocations: 178.7 kB / 0.5604 GB, free: 10.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3828, allocations: 4 kB / 0.5604 GB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003174/0.3831, allocations: 208.9 kB / 0.5606 GB, free: 9.859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3831, allocations: 4 kB / 0.5606 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3831, allocations: 4.219 kB / 0.5606 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3832, allocations: 8 kB / 0.5606 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3833, allocations: 51.27 kB / 0.5607 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.3833, allocations: 4 kB / 0.5607 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.3834, allocations: 31.81 kB / 0.5607 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3834, allocations: 4 kB / 0.5607 GB, free: 9.758 MB / 426.7 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 8.199e-05/0.3835, allocations: 125.8 kB / 0.5608 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.3835, allocations: 19.89 kB / 0.5608 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009088/0.3844, allocations: 1.195 MB / 0.562 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.3844, allocations: 19.97 kB / 0.562 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3845, allocations: 0 / 0.562 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3845, allocations: 0 / 0.562 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.3848, allocations: 0.5031 MB / 0.5625 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3848, allocations: 4 kB / 0.5625 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.3849, allocations: 31.97 kB / 0.5626 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3849, allocations: 4 kB / 0.5626 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3849, allocations: 4 kB / 0.5626 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3849, allocations: 7.938 kB / 0.5626 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3849, allocations: 0 / 0.5626 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.3855, allocations: 0.8668 MB / 0.5634 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.3856, allocations: 67.48 kB / 0.5635 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3856, allocations: 8 kB / 0.5635 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.3858, allocations: 15.98 kB / 0.5635 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.3858, allocations: 11.97 kB / 0.5635 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3858, allocations: 8 kB / 0.5635 GB, free: 6.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.603e-05/0.3859, allocations: 115.2 kB / 0.5636 GB, free: 6.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3859, allocations: 0 / 0.5636 GB, free: 6.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002724/0.3886, allocations: 1.454 MB / 0.565 GB, free: 5.246 MB / 426.7 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.00439/0.393, allocations: 1.93 MB / 0.5669 GB, free: 3.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.3934, allocations: 303.9 kB / 0.5672 GB, free: 3.168 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3934, allocations: 0 / 0.5672 GB, free: 3.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.3937, allocations: 229.3 kB / 0.5674 GB, free: 2.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.3941, allocations: 57.41 kB / 0.5675 GB, free: 2.895 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.3949, allocations: 0.7749 MB / 0.5683 GB, free: 2.086 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.395, allocations: 186.3 kB / 0.5684 GB, free: 1.883 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.395, allocations: 24.48 kB / 0.5685 GB, free: 1.859 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.395, allocations: 0 / 0.5685 GB, free: 1.859 MB / 426.7 MB Notification: Performance of Templates: time 0.02843/0.4234, allocations: 28.35 MB / 0.5961 GB, free: 5.523 MB / 458.7 MB " [Timeout remaining time 660] 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: 6.361113420687616] Failed to read output from testmodel.py, exit status != 0: 0.4295648233965039 0.43921627399999996 0.379246714 Calling exit ...