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.00128/0.00128, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001441/0.001441, allocations: 213.8 kB / 22.99 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.05323/0.05323, allocations: 9.132 MB / 322.3 MB, free: 10.23 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 0.002005/0.002005, allocations: 63.91 kB / 447.8 MB, free: 88 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1218, allocations: 54.94 MB / 0.4909 GB, free: 9.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01776/0.1395, allocations: 12.17 MB / 0.5028 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2757/0.4152, allocations: 15.61 MB / 0.518 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.4154, allocations: 1.031 kB / 0.518 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.4156, allocations: 47.92 kB / 0.5181 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.4158, allocations: 69.42 kB / 0.5182 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02148/0.4373, allocations: 6.718 MB / 0.5247 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.4376, allocations: 171.8 kB / 0.5249 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.083e-05/0.4377, allocations: 7.875 kB / 0.5249 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.4378, allocations: 68.02 kB / 0.525 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.438, allocations: 58.81 kB / 0.525 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.438, allocations: 4.906 kB / 0.525 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02583/0.4638, allocations: 10.33 MB / 0.5351 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-05/0.4639, allocations: 18.28 kB / 0.5351 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.4641, allocations: 55.03 kB / 0.5352 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.4821, allocations: 6.082 MB / 0.5411 GB, free: 3.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4821, allocations: 0 / 0.5411 GB, free: 3.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4821, allocations: 0 / 0.5411 GB, free: 3.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4821, allocations: 0 / 0.5411 GB, free: 3.504 MB / 382.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.006154/0.4883, allocations: 1.316 MB / 0.5424 GB, free: 2.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4883, allocations: 8.656 kB / 0.5424 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.4885, allocations: 27.7 kB / 0.5424 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.4888, allocations: 166.2 kB / 0.5426 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4888, allocations: 8.656 kB / 0.5426 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.4889, allocations: 10.81 kB / 0.5426 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/0.4898, allocations: 324.6 kB / 0.5429 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4898, allocations: 0.6562 kB / 0.5429 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.4898, allocations: 9.344 kB / 0.5429 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4898, allocations: 2.844 kB / 0.5429 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009064/0.4907, allocations: 310.1 kB / 0.5432 GB, free: 2.066 MB / 382.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.000696/0.4914, allocations: 0.7917 MB / 0.544 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/0.4922, allocations: 286.5 kB / 0.5443 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.4924, allocations: 83.33 kB / 0.5444 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4681/0.9606, allocations: 122.7 MB / 0.6642 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.9606, allocations: 34.56 kB / 0.6642 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.9606, allocations: 0 / 0.6642 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.002015/0.9626, allocations: 493.3 kB / 0.6647 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.9627, allocations: 106.8 kB / 0.6648 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.9629, allocations: 158.8 kB / 0.6649 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.9629, allocations: 25.7 kB / 0.665 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.963, allocations: 108 kB / 0.6651 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.963, allocations: 47.95 kB / 0.6651 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.9631, allocations: 41.66 kB / 0.6652 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.9632, allocations: 322.8 kB / 0.6655 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.9634, allocations: 60.97 kB / 0.6655 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.9637, allocations: 121.3 kB / 0.6656 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.9641, allocations: 178.7 kB / 0.6658 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.9641, allocations: 0 / 0.6658 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005574/0.9647, allocations: 205.4 kB / 0.666 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9647, allocations: 4 kB / 0.666 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9647, allocations: 4 kB / 0.666 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.9647, allocations: 4 kB / 0.666 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.9649, allocations: 53.3 kB / 0.6661 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.965, allocations: 7.984 kB / 0.6661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.9651, allocations: 29 kB / 0.6661 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.9651, allocations: 8 kB / 0.6661 GB, free: 8.582 MB / 0.4981 GB 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.000121/0.9653, allocations: 126 kB / 0.6662 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.9653, allocations: 11.95 kB / 0.6662 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.9668, allocations: 1.189 MB / 0.6674 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.9668, allocations: 15.92 kB / 0.6674 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.9668, allocations: 8 kB / 0.6674 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.9668, allocations: 3.984 kB / 0.6674 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000646/0.9675, allocations: 0.4988 MB / 0.6679 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9675, allocations: 0 / 0.6679 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.9677, allocations: 38.16 kB / 0.668 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.9677, allocations: 4 kB / 0.668 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.9677, allocations: 0 / 0.668 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9677, allocations: 0 / 0.668 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.9677, allocations: 7.938 kB / 0.668 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.9688, allocations: 0.8671 MB / 0.6688 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-05/0.9689, allocations: 63.5 kB / 0.6689 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.9689, allocations: 4.078 kB / 0.6689 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.9691, allocations: 24.77 kB / 0.6689 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.9692, allocations: 23.84 kB / 0.6689 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.9692, allocations: 4 kB / 0.6689 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001003/0.9693, allocations: 123.3 kB / 0.669 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.9693, allocations: 0 / 0.669 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005559/0.9748, allocations: 1.45 MB / 0.6705 GB, free: 4.07 MB / 0.4981 GB 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.008715/0.9836, allocations: 1.708 MB / 0.6721 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007918/0.9843, allocations: 310.2 kB / 0.6724 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9844, allocations: 0 / 0.6724 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.9848, allocations: 224.8 kB / 0.6726 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.9854, allocations: 53 kB / 0.6727 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.9866, allocations: 0.7862 MB / 0.6735 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.9868, allocations: 187.7 kB / 0.6736 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.9869, allocations: 27.42 kB / 0.6737 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.9869, allocations: 4 kB / 0.6737 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of Templates: time 0.05033/1.037, allocations: 28.14 MB / 0.7011 GB, free: 4.715 MB / 0.5294 GB " [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: 10.505035074893385] Failed to read output from testmodel.py, exit status != 0: 1.0456690699793398 1.060746764 0.5754424619999999 Calling exit ...