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.001231/0.001232, allocations: 104.6 kB / 16.27 MB, free: 5.984 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.001371/0.001371, allocations: 189 kB / 17.2 MB, free: 5.609 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.539/1.539, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04708/0.04708, allocations: 9.1 MB / 279.5 MB, free: 3.031 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.001563/0.001563, allocations: 59.91 kB / 338.7 MB, free: 7.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2987, allocations: 48.15 MB / 386.9 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01622/0.3149, allocations: 13.13 MB / 400 MB, free: 42.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01864/0.3336, allocations: 17.76 MB / 417.7 MB, free: 28.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.3339, allocations: 1.125 kB / 417.7 MB, free: 28.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.3342, allocations: 60.58 kB / 417.8 MB, free: 28.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.3344, allocations: 59.31 kB / 417.9 MB, free: 27.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02272/0.3572, allocations: 6.704 MB / 424.6 MB, free: 21.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.3575, allocations: 166.9 kB / 424.7 MB, free: 21.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.3575, allocations: 9.125 kB / 424.7 MB, free: 21.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.3577, allocations: 71.7 kB / 424.8 MB, free: 21.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.3578, allocations: 63.72 kB / 424.9 MB, free: 21.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3578, allocations: 4 kB / 424.9 MB, free: 21.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02058/0.3784, allocations: 10.55 MB / 435.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.3785, allocations: 11.92 kB / 435.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.3786, allocations: 67.67 kB / 435.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.3964, allocations: 6.078 MB / 441.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3965, allocations: 0 / 441.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3965, allocations: 0 / 441.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3965, allocations: 0 / 441.6 MB, free: 4.781 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.004642/0.4011, allocations: 1.345 MB / 442.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4012, allocations: 12.03 kB / 442.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.4013, allocations: 20.73 kB / 443 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.4014, allocations: 184.8 kB / 443.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4014, allocations: 12.38 kB / 443.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.4014, allocations: 16.12 kB / 443.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.4023, allocations: 318 kB / 443.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4023, allocations: 4 kB / 443.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.4024, allocations: 9 kB / 443.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4024, allocations: 0 / 443.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008955/0.4033, allocations: 313.2 kB / 443.8 MB, free: 2.461 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.0007417/0.404, allocations: 1.056 MB / 444.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/0.4048, allocations: 299.5 kB / 445.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.405, allocations: 90.52 kB / 445.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6939/1.099, allocations: 183.1 MB / 0.6136 GB, free: 47.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.099, allocations: 38.12 kB / 0.6136 GB, free: 47.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 2.394e-06/1.099, allocations: 4 kB / 0.6136 GB, free: 47.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.002019/1.101, allocations: 488 kB / 0.6141 GB, free: 47.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.101, allocations: 110.8 kB / 0.6142 GB, free: 46.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/1.101, allocations: 160.7 kB / 0.6144 GB, free: 46.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/1.101, allocations: 25.95 kB / 0.6144 GB, free: 46.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/1.101, allocations: 113.4 kB / 0.6145 GB, free: 46.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/1.101, allocations: 45.31 kB / 0.6145 GB, free: 46.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/1.101, allocations: 41.61 kB / 0.6146 GB, free: 46.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.947e-05/1.102, allocations: 322.8 kB / 0.6149 GB, free: 46.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/1.102, allocations: 55.94 kB / 0.6149 GB, free: 46.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/1.102, allocations: 111.6 kB / 0.615 GB, free: 46.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/1.102, allocations: 174.7 kB / 0.6152 GB, free: 45.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.102, allocations: 0.6875 kB / 0.6152 GB, free: 45.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005166/1.103, allocations: 209.3 kB / 0.6154 GB, free: 45.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.103, allocations: 7.75 kB / 0.6154 GB, free: 45.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.103, allocations: 4 kB / 0.6154 GB, free: 45.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.103, allocations: 224 / 0.6154 GB, free: 45.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/1.103, allocations: 51.91 kB / 0.6155 GB, free: 45.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.103, allocations: 6.484 kB / 0.6155 GB, free: 45.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/1.103, allocations: 28.88 kB / 0.6155 GB, free: 45.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/1.103, allocations: 12 kB / 0.6155 GB, free: 45.56 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 8.299e-05/1.103, allocations: 118.3 kB / 0.6156 GB, free: 45.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/1.104, allocations: 19.75 kB / 0.6156 GB, free: 45.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/1.105, allocations: 1.144 MB / 0.6168 GB, free: 44.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.105, allocations: 15.97 kB / 0.6168 GB, free: 44.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.105, allocations: 5.875 kB / 0.6168 GB, free: 44.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.105, allocations: 7.984 kB / 0.6168 GB, free: 44.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/1.105, allocations: 0.5817 MB / 0.6174 GB, free: 43.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.105, allocations: 0 / 0.6174 GB, free: 43.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/1.105, allocations: 35.91 kB / 0.6174 GB, free: 43.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/1.105, allocations: 7.938 kB / 0.6174 GB, free: 43.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/1.105, allocations: 7.984 kB / 0.6174 GB, free: 43.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.105, allocations: 7.938 kB / 0.6174 GB, free: 43.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.105, allocations: 0 / 0.6174 GB, free: 43.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007728/1.106, allocations: 0.8493 MB / 0.6182 GB, free: 42.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/1.106, allocations: 136.3 kB / 0.6184 GB, free: 42.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/1.106, allocations: 4 kB / 0.6184 GB, free: 42.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/1.107, allocations: 25.84 kB / 0.6184 GB, free: 42.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/1.107, allocations: 15.98 kB / 0.6184 GB, free: 42.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/1.107, allocations: 4 kB / 0.6184 GB, free: 42.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.51e-05/1.107, allocations: 107.2 kB / 0.6185 GB, free: 42.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.107, allocations: 4 kB / 0.6185 GB, free: 42.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005112/1.112, allocations: 1.43 MB / 0.6199 GB, free: 41.08 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.007352/1.119, allocations: 1.688 MB / 0.6216 GB, free: 39.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009593/1.12, allocations: 310.5 kB / 0.6219 GB, free: 39.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.12, allocations: 0 / 0.6219 GB, free: 39.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/1.121, allocations: 289.8 kB / 0.6221 GB, free: 38.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/1.121, allocations: 47.89 kB / 0.6222 GB, free: 38.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/1.123, allocations: 0.761 MB / 0.6229 GB, free: 38.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/1.123, allocations: 0.7884 MB / 0.6237 GB, free: 37.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/1.123, allocations: 19.44 kB / 0.6237 GB, free: 37.3 MB / 414.1 MB Notification: Performance of SimCode: time 1.342e-06/1.123, allocations: 0 / 0.6237 GB, free: 37.3 MB / 414.1 MB Notification: Performance of Templates: time 0.04389/1.167, allocations: 27.9 MB / 0.651 GB, free: 9.398 MB / 414.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1)