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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001628, allocations: 105.2 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04706/0.04706, allocations: 9.09 MB / 279.6 MB, free: 2.969 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.91 kB / 339.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2213, allocations: 48.14 MB / 387.6 MB, free: 51.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01245/0.2338, allocations: 13.14 MB / 400.8 MB, free: 42.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.2489, allocations: 17.76 MB / 418.5 MB, free: 28.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2491, allocations: 4 kB / 418.5 MB, free: 28.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.2494, allocations: 59.89 kB / 418.6 MB, free: 28.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2495, allocations: 64.47 kB / 418.6 MB, free: 28.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01626/0.2658, allocations: 6.696 MB / 425.3 MB, free: 21.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.266, allocations: 170.9 kB / 425.5 MB, free: 21.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.266, allocations: 13.12 kB / 425.5 MB, free: 21.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2662, allocations: 63.78 kB / 425.6 MB, free: 21.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.2663, allocations: 63.7 kB / 425.6 MB, free: 21.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2663, allocations: 4 kB / 425.6 MB, free: 21.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01735/0.2836, allocations: 10.82 MB / 436.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.2837, allocations: 11.94 kB / 436.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.2838, allocations: 63.67 kB / 436.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.2997, allocations: 6.067 MB / 442.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.2997, allocations: 0 / 442.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2998, allocations: 0 / 442.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.2998, allocations: 0 / 442.6 MB, free: 4.398 MB / 318.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.004268/0.304, allocations: 1.353 MB / 444 MB, free: 2.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3041, allocations: 12.03 kB / 444 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.3042, allocations: 16.75 kB / 444 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.347e-05/0.3043, allocations: 188.7 kB / 444.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3043, allocations: 4.375 kB / 444.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3043, allocations: 12.12 kB / 444.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/0.3051, allocations: 326 kB / 444.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3052, allocations: 0 / 444.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3052, allocations: 4 kB / 444.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3052, allocations: 0 / 444.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.3061, allocations: 313.2 kB / 444.8 MB, free: 2.082 MB / 318.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.0007362/0.3068, allocations: 1.063 MB / 445.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.3076, allocations: 295.6 kB / 446.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.3079, allocations: 86.53 kB / 446.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.542/0.8499, allocations: 184.3 MB / 0.6158 GB, free: 46.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.85, allocations: 34.56 kB / 0.6158 GB, free: 46.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/0.85, allocations: 0 / 0.6158 GB, free: 46.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.00186/0.8519, allocations: 494.4 kB / 0.6163 GB, free: 45.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.8519, allocations: 110.7 kB / 0.6164 GB, free: 45.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.852, allocations: 157.6 kB / 0.6166 GB, free: 45.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.8521, allocations: 29.95 kB / 0.6166 GB, free: 45.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.8521, allocations: 116.1 kB / 0.6167 GB, free: 45.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.8521, allocations: 39.78 kB / 0.6167 GB, free: 45.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.8522, allocations: 41.61 kB / 0.6168 GB, free: 45.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.8523, allocations: 322.8 kB / 0.6171 GB, free: 44.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.8525, allocations: 51.95 kB / 0.6171 GB, free: 44.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.8527, allocations: 115.3 kB / 0.6172 GB, free: 44.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.853, allocations: 175.5 kB / 0.6174 GB, free: 44.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.853, allocations: 0 / 0.6174 GB, free: 44.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004346/0.8535, allocations: 209.8 kB / 0.6176 GB, free: 44.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.8535, allocations: 7.75 kB / 0.6176 GB, free: 44.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.8535, allocations: 4.75 kB / 0.6176 GB, free: 44.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.8536, allocations: 8.203 kB / 0.6176 GB, free: 44.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.8538, allocations: 51.91 kB / 0.6177 GB, free: 44.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.8538, allocations: 4 kB / 0.6177 GB, free: 44.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.854, allocations: 22.84 kB / 0.6177 GB, free: 44.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.854, allocations: 11.98 kB / 0.6177 GB, free: 44.02 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.000111/0.8541, allocations: 127.2 kB / 0.6178 GB, free: 43.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.8542, allocations: 15.75 kB / 0.6178 GB, free: 43.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.8553, allocations: 1.14 MB / 0.619 GB, free: 42.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.8553, allocations: 19.97 kB / 0.619 GB, free: 42.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8553, allocations: 0 / 0.619 GB, free: 42.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8553, allocations: 0 / 0.619 GB, free: 42.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.8558, allocations: 0.5796 MB / 0.6195 GB, free: 42.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.8558, allocations: 8 kB / 0.6196 GB, free: 42.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.856, allocations: 39.91 kB / 0.6196 GB, free: 42.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.856, allocations: 3.938 kB / 0.6196 GB, free: 42.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.856, allocations: 0.75 kB / 0.6196 GB, free: 42.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.856, allocations: 7.938 kB / 0.6196 GB, free: 42.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.856, allocations: 0 / 0.6196 GB, free: 42.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.8567, allocations: 0.8493 MB / 0.6204 GB, free: 41.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.8568, allocations: 140.4 kB / 0.6206 GB, free: 41.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.8568, allocations: 4 kB / 0.6206 GB, free: 41.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.857, allocations: 16.86 kB / 0.6206 GB, free: 40.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.8571, allocations: 19.97 kB / 0.6206 GB, free: 40.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.8571, allocations: 8 kB / 0.6206 GB, free: 40.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.175e-05/0.8572, allocations: 111.2 kB / 0.6207 GB, free: 40.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8572, allocations: 0 / 0.6207 GB, free: 40.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003809/0.861, allocations: 1.421 MB / 0.6221 GB, free: 39.56 MB / 414.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.005445/0.8664, allocations: 1.687 MB / 0.6238 GB, free: 38.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006336/0.8671, allocations: 306.6 kB / 0.624 GB, free: 37.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.8671, allocations: 0 / 0.624 GB, free: 37.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.8674, allocations: 282 kB / 0.6243 GB, free: 37.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.868, allocations: 54.61 kB / 0.6244 GB, free: 37.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.8688, allocations: 0.7211 MB / 0.6251 GB, free: 36.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.869, allocations: 0.7884 MB / 0.6258 GB, free: 35.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.8691, allocations: 112.3 kB / 0.626 GB, free: 35.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.8691, allocations: 27.44 kB / 0.626 GB, free: 35.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.8692, allocations: 0 / 0.626 GB, free: 35.71 MB / 414.1 MB Notification: Performance of Templates: time 0.05396/0.9231, allocations: 51.18 MB / 0.676 GB, free: 0.5703 MB / 430.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile (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 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1)