Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005883/0.005883, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001316/0.001316, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.251/1.251, allocations: 205.1 MB / 222.5 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04275/0.04275, allocations: 9.097 MB / 279 MB, free: 12.06 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.001276/0.001276, allocations: 71.89 kB / 387.5 MB, free: 8.023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2166, allocations: 48.15 MB / 435.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01686/0.2335, allocations: 19.18 MB / 454.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008149/0.2417, allocations: 9.385 MB / 464.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.2419, allocations: 2.438 kB / 464.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000951/0.2429, allocations: 499.9 kB / 464.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.2434, allocations: 276.2 kB / 464.9 MB, free: 0.9727 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01066/0.2541, allocations: 4.758 MB / 469.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.2545, allocations: 407.8 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.2546, allocations: 17.75 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.2549, allocations: 169.2 kB / 470.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.255, allocations: 111.1 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2551, allocations: 4.969 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.2663, allocations: 7.387 MB / 477.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.2663, allocations: 23.84 kB / 477.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.2666, allocations: 111.4 kB / 477.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005928/0.2725, allocations: 3.266 MB / 481.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2725, allocations: 0 / 481.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2725, allocations: 0 / 481.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2725, allocations: 0 / 481.2 MB, free: 3.047 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001505/0.2741, allocations: 0.8145 MB / 482 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2741, allocations: 12.03 kB / 482 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.2745, allocations: 63.56 kB / 482.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2746, allocations: 186.7 kB / 482.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.2746, allocations: 8 kB / 482.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.2747, allocations: 4 kB / 482.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.275, allocations: 225.5 kB / 482.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2751, allocations: 3.938 kB / 482.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2751, allocations: 8 kB / 482.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.2751, allocations: 11.97 kB / 482.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.2755, allocations: 216.5 kB / 482.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.2759, allocations: 356 kB / 483.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.2767, allocations: 351.1 kB / 483.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.2771, allocations: 246 kB / 483.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04516/0.3222, allocations: 28.59 MB / 0.5002 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3223, allocations: 30.56 kB / 0.5003 GB, free: 14.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.204e-06/0.3223, allocations: 0 / 0.5003 GB, free: 14.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.001092/0.3234, allocations: 0.6777 MB / 0.5009 GB, free: 14.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3234, allocations: 59.39 kB / 0.501 GB, free: 14.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.3235, allocations: 117.8 kB / 0.5011 GB, free: 14.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3236, allocations: 29.7 kB / 0.5011 GB, free: 14.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.3236, allocations: 85.45 kB / 0.5012 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.3238, allocations: 232.4 kB / 0.5014 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.3239, allocations: 57.69 kB / 0.5015 GB, free: 13.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.324, allocations: 334.8 kB / 0.5018 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.3242, allocations: 172.5 kB / 0.502 GB, free: 13.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.3245, allocations: 179.3 kB / 0.5021 GB, free: 13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.325, allocations: 436.7 kB / 0.5026 GB, free: 12.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3251, allocations: 0 / 0.5026 GB, free: 12.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006482/0.3257, allocations: 466.6 kB / 0.503 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3257, allocations: 11.94 kB / 0.503 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3257, allocations: 0 / 0.503 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3258, allocations: 0 / 0.503 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.3259, allocations: 31.91 kB / 0.503 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3259, allocations: 3.938 kB / 0.503 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3261, allocations: 43.58 kB / 0.5031 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3261, allocations: 0 / 0.5031 GB, free: 12.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001167/0.3262, allocations: 137.8 kB / 0.5032 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.3263, allocations: 23.7 kB / 0.5032 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009418/0.3272, allocations: 0.7558 MB / 0.504 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.3272, allocations: 11.97 kB / 0.504 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3273, allocations: 3.938 kB / 0.504 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3273, allocations: 0 / 0.504 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.3276, allocations: 436.2 kB / 0.5044 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3276, allocations: 4 kB / 0.5044 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.3278, allocations: 27.91 kB / 0.5044 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3278, allocations: 0 / 0.5044 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3278, allocations: 4 kB / 0.5044 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3278, allocations: 4 kB / 0.5044 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3278, allocations: 3.938 kB / 0.5044 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.3285, allocations: 0.5152 MB / 0.505 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3286, allocations: 128.6 kB / 0.5051 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3286, allocations: 0 / 0.5051 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3288, allocations: 8 kB / 0.5051 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.3288, allocations: 15.91 kB / 0.5051 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3288, allocations: 4 kB / 0.5051 GB, free: 9.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.726e-05/0.3289, allocations: 83.59 kB / 0.5052 GB, free: 9.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3289, allocations: 0 / 0.5052 GB, free: 9.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001538/0.3304, allocations: 0.7067 MB / 0.5059 GB, free: 9.055 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002768/0.3332, allocations: 1.041 MB / 0.5069 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006689/0.3339, allocations: 444.9 kB / 0.5073 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3339, allocations: 0 / 0.5073 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.3342, allocations: 248.5 kB / 0.5075 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.3353, allocations: 235.5 kB / 0.5078 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.3361, allocations: 0.5318 MB / 0.5083 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.3364, allocations: 0.761 MB / 0.509 GB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.3367, allocations: 195.9 kB / 0.5092 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.3368, allocations: 27.42 kB / 0.5093 GB, free: 5.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3368, allocations: 0 / 0.5093 GB, free: 5.535 MB / 398.1 MB Notification: Performance of Templates: time 0.03569/0.3725, allocations: 26.46 MB / 0.5351 GB, free: 11.09 MB / 430.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1)