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.0009922/0.0009922, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001177/0.001177, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 1.096/1.096, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.03969/0.03969, allocations: 7.521 MB / 268.6 MB, free: 5.824 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 2.464e-06/2.464e-06, allocations: 0 / 339.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.686e-05, allocations: 5.266 kB / 339.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.024/0.02402, allocations: 13.13 MB / 353 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04812/0.07214, allocations: 17.11 MB / 370.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.07231, allocations: 0 / 370.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.07249, allocations: 47.67 kB / 370.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.07261, allocations: 67.34 kB / 370.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0159/0.08852, allocations: 6.809 MB / 377 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.08884, allocations: 174.8 kB / 377.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.08891, allocations: 13.62 kB / 377.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.08914, allocations: 87.78 kB / 377.3 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.08925, allocations: 55.83 kB / 377.4 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.08926, allocations: 4 kB / 377.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/0.1074, allocations: 10.34 MB / 387.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.245e-05/0.1074, allocations: 23.86 kB / 387.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1076, allocations: 39.92 kB / 387.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01638/0.124, allocations: 7.792 MB / 395.6 MB, free: 2.832 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.124, allocations: 4 kB / 395.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.124, allocations: 0 / 395.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.124, allocations: 0 / 395.6 MB, free: 2.828 MB / 314.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.004394/0.1284, allocations: 1.407 MB / 397 MB, free: 1.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1284, allocations: 8.625 kB / 397 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1286, allocations: 28.84 kB / 397 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1288, allocations: 180.3 kB / 397.2 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1288, allocations: 4.375 kB / 397.2 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1288, allocations: 12.38 kB / 397.2 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.1293, allocations: 309.4 kB / 397.5 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1294, allocations: 7.875 kB / 397.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1294, allocations: 8 kB / 397.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1294, allocations: 4 kB / 397.5 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.1297, allocations: 203.7 kB / 397.7 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.1304, allocations: 1.034 MB / 398.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.1309, allocations: 257.1 kB / 399 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.1309, allocations: 54.98 kB / 399.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3794/0.5103, allocations: 108.3 MB / 0.4954 GB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.5104, allocations: 45.05 kB / 0.4955 GB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.026e-06/0.5104, allocations: 7.891 kB / 0.4955 GB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001057/0.5114, allocations: 411.8 kB / 0.4959 GB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.5115, allocations: 106.8 kB / 0.496 GB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.5117, allocations: 216.5 kB / 0.4962 GB, free: 11.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.5117, allocations: 25.7 kB / 0.4962 GB, free: 11.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.5118, allocations: 163.4 kB / 0.4964 GB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.5118, allocations: 43.39 kB / 0.4964 GB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.5119, allocations: 50.36 kB / 0.4965 GB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.5121, allocations: 0.4983 MB / 0.4969 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.5121, allocations: 12.23 kB / 0.497 GB, free: 11.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.5122, allocations: 101.5 kB / 0.4971 GB, free: 10.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.5125, allocations: 119.6 kB / 0.4972 GB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5125, allocations: 0 / 0.4972 GB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001645/0.5126, allocations: 133.6 kB / 0.4973 GB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5127, allocations: 7.938 kB / 0.4973 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.5127, allocations: 7 kB / 0.4973 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5127, allocations: 4 kB / 0.4973 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.5128, allocations: 42.97 kB / 0.4974 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5128, allocations: 4 kB / 0.4974 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.5129, allocations: 19.33 kB / 0.4974 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.5129, allocations: 8 kB / 0.4974 GB, free: 10.64 MB / 362.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_dT.phase,state_ph.phase,state.phase,state_ps.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.0001095/0.513, allocations: 171.9 kB / 0.4975 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.5131, allocations: 19.91 kB / 0.4976 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005769/0.5136, allocations: 0.6512 MB / 0.4982 GB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.5137, allocations: 19.97 kB / 0.4982 GB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5137, allocations: 0 / 0.4982 GB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5137, allocations: 4 kB / 0.4982 GB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.514, allocations: 353.9 kB / 0.4986 GB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.514, allocations: 4 kB / 0.4986 GB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/0.5141, allocations: 31.34 kB / 0.4986 GB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5141, allocations: 0 / 0.4986 GB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.5141, allocations: 8 kB / 0.4986 GB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5141, allocations: 0 / 0.4986 GB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5141, allocations: 3.938 kB / 0.4986 GB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.5146, allocations: 0.7533 MB / 0.4993 GB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.5146, allocations: 59.52 kB / 0.4994 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.5146, allocations: 7.094 kB / 0.4994 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.5147, allocations: 15.98 kB / 0.4994 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.5148, allocations: 23.84 kB / 0.4994 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.5148, allocations: 8 kB / 0.4995 GB, free: 8.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.693e-05/0.5149, allocations: 153.4 kB / 0.4996 GB, free: 8.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5149, allocations: 0 / 0.4996 GB, free: 8.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003615/0.5185, allocations: 1.453 MB / 0.501 GB, free: 6.914 MB / 362.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.005228/0.5237, allocations: 1.972 MB / 0.5029 GB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.524, allocations: 132.7 kB / 0.5031 GB, free: 4.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.524, allocations: 0 / 0.5031 GB, free: 4.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.5241, allocations: 125.2 kB / 0.5032 GB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.5245, allocations: 55.12 kB / 0.5032 GB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009631/0.5254, allocations: 0.6842 MB / 0.5039 GB, free: 4.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.528e-05/0.5255, allocations: 105.8 kB / 0.504 GB, free: 4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.5257, allocations: 111.2 kB / 0.5041 GB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.5258, allocations: 118.2 kB / 0.5042 GB, free: 3.777 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5258, allocations: 4 kB / 0.5042 GB, free: 3.773 MB / 362.7 MB Notification: Performance of Templates: time 0.1852/0.711, allocations: 60.35 MB / 0.5632 GB, free: 131.5 MB / 410.7 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.913089498877525]