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.0009932/0.0009933, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009637/0.009637, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.699/1.699, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04947/0.04947, allocations: 9.077 MB / 279.8 MB, free: 12.14 MB / 238.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.0005555/0.0005559, allocations: 12.52 kB / 339.7 MB, free: 25.65 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1239, allocations: 49.19 MB / 388.9 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01953/0.1435, allocations: 13.49 MB / 402.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02666/0.1702, allocations: 18.9 MB / 421.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1704, allocations: 0 / 421.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.1708, allocations: 55.7 kB / 421.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.1712, allocations: 55.53 kB / 421.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02897/0.2001, allocations: 5.301 MB / 426.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.2006, allocations: 170.9 kB / 426.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.083e-05/0.2007, allocations: 9.062 kB / 426.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.2009, allocations: 59.78 kB / 427 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.2011, allocations: 67.7 kB / 427 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2011, allocations: 0 / 427 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2937/0.4948, allocations: 10.7 MB / 437.7 MB, free: 16.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.4949, allocations: 15.8 kB / 437.7 MB, free: 16.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.4951, allocations: 85.2 kB / 437.8 MB, free: 16.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02271/0.5178, allocations: 6.068 MB / 443.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.5179, allocations: 0 / 443.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.5179, allocations: 0 / 443.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.5179, allocations: 5.625 kB / 443.9 MB, free: 15.59 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.00684/0.5247, allocations: 1.329 MB / 445.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.5248, allocations: 8.969 kB / 445.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.5249, allocations: 12.94 kB / 445.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.525, allocations: 192.6 kB / 445.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.525, allocations: 8.594 kB / 445.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.5251, allocations: 10.75 kB / 445.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009589/0.526, allocations: 338.5 kB / 445.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.526, allocations: 0 / 445.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.5261, allocations: 9.875 kB / 445.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5261, allocations: 1.844 kB / 445.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.5271, allocations: 334.6 kB / 446.1 MB, free: 14.28 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.0008648/0.528, allocations: 1.052 MB / 447.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008357/0.5288, allocations: 307.7 kB / 447.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.5291, allocations: 105.8 kB / 447.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7287/1.258, allocations: 184.8 MB / 0.6176 GB, free: 160.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/1.258, allocations: 36.62 kB / 0.6176 GB, free: 160.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 3.577e-06/1.258, allocations: 4 kB / 0.6176 GB, free: 160.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.002061/1.26, allocations: 0.5225 MB / 0.6182 GB, free: 160 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/1.26, allocations: 110.5 kB / 0.6183 GB, free: 159.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/1.26, allocations: 156.1 kB / 0.6184 GB, free: 159.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/1.26, allocations: 28.55 kB / 0.6184 GB, free: 159.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/1.26, allocations: 105.9 kB / 0.6185 GB, free: 159.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/1.26, allocations: 48.58 kB / 0.6186 GB, free: 159.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/1.26, allocations: 21.64 kB / 0.6186 GB, free: 159.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/1.261, allocations: 318.8 kB / 0.6189 GB, free: 159.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/1.261, allocations: 69.33 kB / 0.619 GB, free: 159.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/1.261, allocations: 122.4 kB / 0.6191 GB, free: 159.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/1.261, allocations: 202.5 kB / 0.6193 GB, free: 158.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.261, allocations: 0 / 0.6193 GB, free: 158.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005008/1.262, allocations: 239.7 kB / 0.6195 GB, free: 158.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.262, allocations: 7.984 kB / 0.6195 GB, free: 158.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.262, allocations: 7.75 kB / 0.6195 GB, free: 158.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/1.262, allocations: 0 / 0.6195 GB, free: 158.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/1.262, allocations: 51.91 kB / 0.6196 GB, free: 158.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.262, allocations: 6.922 kB / 0.6196 GB, free: 158.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/1.262, allocations: 39.05 kB / 0.6196 GB, free: 158.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.263, allocations: 8 kB / 0.6196 GB, free: 158.5 MB / 462.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 9.468e-05/1.263, allocations: 121.8 kB / 0.6197 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/1.263, allocations: 14.06 kB / 0.6198 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/1.264, allocations: 1.147 MB / 0.6209 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.264, allocations: 20.53 kB / 0.6209 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.264, allocations: 5.203 kB / 0.6209 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.264, allocations: 0 / 0.6209 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005954/1.264, allocations: 0.5834 MB / 0.6215 GB, free: 156.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.264, allocations: 0.625 kB / 0.6215 GB, free: 156.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/1.265, allocations: 47.91 kB / 0.6215 GB, free: 156.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.265, allocations: 3.844 kB / 0.6215 GB, free: 156.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/1.265, allocations: 4 kB / 0.6215 GB, free: 156.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.265, allocations: 5.375 kB / 0.6215 GB, free: 156.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.265, allocations: 0 / 0.6215 GB, free: 156.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/1.266, allocations: 0.8747 MB / 0.6224 GB, free: 155.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.266, allocations: 136.4 kB / 0.6225 GB, free: 155.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/1.266, allocations: 7.266 kB / 0.6225 GB, free: 155.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/1.266, allocations: 31.97 kB / 0.6226 GB, free: 155.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/1.266, allocations: 15.92 kB / 0.6226 GB, free: 155.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.266, allocations: 4 kB / 0.6226 GB, free: 155.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.198e-05/1.266, allocations: 111.2 kB / 0.6227 GB, free: 155.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.266, allocations: 0 / 0.6227 GB, free: 155.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006695/1.273, allocations: 1.439 MB / 0.6241 GB, free: 154 MB / 462.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.01499/1.288, allocations: 1.689 MB / 0.6257 GB, free: 152.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008641/1.289, allocations: 322.7 kB / 0.626 GB, free: 152.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.289, allocations: 448 / 0.626 GB, free: 152.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/1.289, allocations: 296.8 kB / 0.6263 GB, free: 151.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000728/1.29, allocations: 48.08 kB / 0.6264 GB, free: 151.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/1.291, allocations: 0.9068 MB / 0.6273 GB, free: 150.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/1.291, allocations: 0.7922 MB / 0.628 GB, free: 150.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002081/1.292, allocations: 109.8 kB / 0.6281 GB, free: 150 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/1.292, allocations: 19.44 kB / 0.6282 GB, free: 150 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/1.292, allocations: 0 / 0.6282 GB, free: 150 MB / 462.1 MB Notification: Performance of Templates: time 0.06/1.352, allocations: 51.05 MB / 0.678 GB, free: 98.95 MB / 462.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: