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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001165, allocations: 182.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04696/0.04696, allocations: 9.09 MB / 25.82 MB, free: 3.426 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.1 MB / 233.2 MB, free: 14.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 91.55 kB / 282.1 MB, free: 15.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001075, allocations: 55.92 kB / 341.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2689, allocations: 48.16 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01384/0.2828, allocations: 13.96 MB / 403.2 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0177/0.3006, allocations: 19.25 MB / 422.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.3008, allocations: 0 / 422.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.3011, allocations: 43.78 kB / 422.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.3013, allocations: 59.47 kB / 422.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01886/0.3202, allocations: 5.29 MB / 427.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.3205, allocations: 170.9 kB / 428 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.686e-05/0.3206, allocations: 21.03 kB / 428 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.3207, allocations: 55.8 kB / 428.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3208, allocations: 63.7 kB / 428.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3209, allocations: 4 kB / 428.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02354/0.3444, allocations: 10.71 MB / 438.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.3445, allocations: 15.92 kB / 438.9 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.3447, allocations: 59.67 kB / 438.9 MB, free: 4.727 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02056/0.3652, allocations: 6.106 MB / 445 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3653, allocations: 0 / 445 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3653, allocations: 0 / 445 MB, free: 14.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3653, allocations: 7.938 kB / 445 MB, free: 14.6 MB / 330.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.005703/0.371, allocations: 1.349 MB / 446.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3711, allocations: 8.031 kB / 446.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3712, allocations: 20.84 kB / 446.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.3714, allocations: 188.1 kB / 446.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3714, allocations: 4.375 kB / 446.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.3714, allocations: 12.12 kB / 446.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.3725, allocations: 324.7 kB / 446.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3725, allocations: 3.938 kB / 446.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.3725, allocations: 4 kB / 446.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3725, allocations: 4 kB / 446.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/0.3735, allocations: 311.6 kB / 447.2 MB, free: 12.28 MB / 330.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.001312/0.3749, allocations: 1.063 MB / 448.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008852/0.3758, allocations: 287.6 kB / 448.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.376, allocations: 86.52 kB / 448.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6758/1.052, allocations: 183.1 MB / 0.617 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.052, allocations: 33.19 kB / 0.617 GB, free: 5.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.964e-06/1.052, allocations: 0 / 0.617 GB, free: 5.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001877/1.054, allocations: 496.4 kB / 0.6175 GB, free: 5.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/1.054, allocations: 102.8 kB / 0.6176 GB, free: 5.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/1.054, allocations: 146.2 kB / 0.6177 GB, free: 4.867 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/1.054, allocations: 29.7 kB / 0.6177 GB, free: 4.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/1.054, allocations: 114.8 kB / 0.6178 GB, free: 4.727 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/1.054, allocations: 41.28 kB / 0.6179 GB, free: 4.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/1.054, allocations: 41.7 kB / 0.6179 GB, free: 4.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/1.054, allocations: 322.8 kB / 0.6182 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/1.055, allocations: 51.86 kB / 0.6183 GB, free: 4.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/1.055, allocations: 117 kB / 0.6184 GB, free: 4.137 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/1.055, allocations: 186.1 kB / 0.6186 GB, free: 3.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.055, allocations: 0 / 0.6186 GB, free: 3.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000512/1.056, allocations: 205.2 kB / 0.6188 GB, free: 3.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.056, allocations: 11.98 kB / 0.6188 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.056, allocations: 0 / 0.6188 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.056, allocations: 4 kB / 0.6188 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/1.056, allocations: 48.19 kB / 0.6188 GB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/1.056, allocations: 4 kB / 0.6188 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/1.056, allocations: 31.81 kB / 0.6189 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/1.056, allocations: 8 kB / 0.6189 GB, free: 3.625 MB / 410.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 0.0001099/1.056, allocations: 125.7 kB / 0.619 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/1.056, allocations: 11.91 kB / 0.619 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/1.058, allocations: 1.142 MB / 0.6201 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/1.058, allocations: 15.97 kB / 0.6201 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.058, allocations: 0 / 0.6201 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/1.058, allocations: 11.84 kB / 0.6201 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/1.058, allocations: 0.5824 MB / 0.6207 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.058, allocations: 0 / 0.6207 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/1.059, allocations: 35.97 kB / 0.6207 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/1.059, allocations: 4 kB / 0.6208 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/1.059, allocations: 0 / 0.6208 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.059, allocations: 0 / 0.6208 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.059, allocations: 7.375 kB / 0.6208 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/1.06, allocations: 1.775 MB / 0.6225 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.061, allocations: 136.4 kB / 0.6226 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/1.061, allocations: 4 kB / 0.6226 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/1.061, allocations: 19.98 kB / 0.6226 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/1.061, allocations: 15.91 kB / 0.6227 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/1.061, allocations: 7.938 kB / 0.6227 GB, free: 15.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.472e-05/1.061, allocations: 119.9 kB / 0.6228 GB, free: 15.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.061, allocations: 4 kB / 0.6228 GB, free: 15.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007469/1.069, allocations: 1.453 MB / 0.6242 GB, free: 14.11 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.008652/1.077, allocations: 1.682 MB / 0.6258 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008449/1.078, allocations: 303 kB / 0.6261 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.078, allocations: 4 kB / 0.6261 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/1.079, allocations: 278.8 kB / 0.6264 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/1.079, allocations: 44.2 kB / 0.6264 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/1.081, allocations: 1.313 MB / 0.6277 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/1.081, allocations: 0.8117 MB / 0.6285 GB, free: 9.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000207/1.082, allocations: 117.7 kB / 0.6286 GB, free: 9.652 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/1.082, allocations: 23.42 kB / 0.6287 GB, free: 9.629 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/1.082, allocations: 3.656 kB / 0.6287 GB, free: 9.629 MB / 426.7 MB Notification: Performance of Templates: time 0.2901/1.372, allocations: 51.16 MB / 0.6786 GB, free: 150.5 MB / 442.7 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)