Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.00122/0.00122, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.503/1.503, 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.04834/0.04834, allocations: 9.094 MB / 279.7 MB, free: 2.957 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.001485/0.001485, allocations: 74.06 kB / 388.1 MB, free: 47.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07154/0.07304, allocations: 48.17 MB / 436.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01691/0.08998, allocations: 17.89 MB / 454.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02862/0.1187, allocations: 32.21 MB / 486.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.1189, allocations: 0 / 486.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.12, allocations: 482 kB / 486.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.1204, allocations: 147.1 kB / 487 MB, free: 4.766 MB / 366.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.02235/0.1428, allocations: 9.99 MB / 497 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.1433, allocations: 386.4 kB / 497.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.1433, allocations: 20.39 kB / 497.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.1436, allocations: 171.4 kB / 497.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1438, allocations: 115.5 kB / 497.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.1439, allocations: 16 kB / 497.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0189/0.1628, allocations: 11.47 MB / 0.4972 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.1629, allocations: 43.83 kB / 0.4973 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.1631, allocations: 103.5 kB / 0.4974 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.1749, allocations: 4.755 MB / 0.502 GB, free: 9.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1749, allocations: 0 / 0.502 GB, free: 9.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1749, allocations: 0 / 0.502 GB, free: 9.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.1749, allocations: 4 kB / 0.502 GB, free: 9.66 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002419/0.1774, allocations: 1.13 MB / 0.5031 GB, free: 8.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1774, allocations: 12.03 kB / 0.5031 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.1777, allocations: 31.7 kB / 0.5031 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.178, allocations: 230.6 kB / 0.5034 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.178, allocations: 11.94 kB / 0.5034 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1781, allocations: 4 kB / 0.5034 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.1787, allocations: 263.5 kB / 0.5036 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1787, allocations: 3.938 kB / 0.5036 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1787, allocations: 11.94 kB / 0.5036 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1787, allocations: 0 / 0.5036 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/0.1794, allocations: 238 kB / 0.5039 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1804, allocations: 1.075 MB / 0.5049 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.181, allocations: 242.3 kB / 0.5052 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.1813, allocations: 151.4 kB / 0.5053 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2562/0.4376, allocations: 46.25 MB / 0.5505 GB, free: 71.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.4376, allocations: 35.56 kB / 0.5505 GB, free: 71.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 3.136e-06/0.4377, allocations: 1.375 kB / 0.5505 GB, free: 71.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001535/0.4392, allocations: 462.4 kB / 0.5509 GB, free: 71.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.4392, allocations: 135.5 kB / 0.5511 GB, free: 71.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.4394, allocations: 177.8 kB / 0.5512 GB, free: 71.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.4394, allocations: 30.08 kB / 0.5513 GB, free: 71.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.4395, allocations: 121.3 kB / 0.5514 GB, free: 71.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.4396, allocations: 89.3 kB / 0.5515 GB, free: 71.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.4396, allocations: 47.44 kB / 0.5515 GB, free: 71.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.4397, allocations: 335 kB / 0.5518 GB, free: 70.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.44, allocations: 104.7 kB / 0.5519 GB, free: 70.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.4403, allocations: 169.2 kB / 0.5521 GB, free: 70.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.4409, allocations: 282.9 kB / 0.5524 GB, free: 70.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4409, allocations: 0 / 0.5524 GB, free: 70.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007769/0.4417, allocations: 320.2 kB / 0.5527 GB, free: 70.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4417, allocations: 6.094 kB / 0.5527 GB, free: 70.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4417, allocations: 1.875 kB / 0.5527 GB, free: 70.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4417, allocations: 2.406 kB / 0.5527 GB, free: 70.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.442, allocations: 50.08 kB / 0.5527 GB, free: 70.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.442, allocations: 2.281 kB / 0.5527 GB, free: 70.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4422, allocations: 33.25 kB / 0.5528 GB, free: 70.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.4423, allocations: 8.5 kB / 0.5528 GB, free: 70.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001001/0.4424, allocations: 148.8 kB / 0.5529 GB, free: 70.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.4425, allocations: 18.56 kB / 0.5529 GB, free: 70.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005889/0.4431, allocations: 362.5 kB / 0.5533 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4431, allocations: 4.969 kB / 0.5533 GB, free: 69.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4431, allocations: 0 / 0.5533 GB, free: 69.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.4432, allocations: 100.5 kB / 0.5534 GB, free: 69.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.4432, allocations: 11.72 kB / 0.5534 GB, free: 69.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.4435, allocations: 24.62 kB / 0.5534 GB, free: 69.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.4436, allocations: 27.45 kB / 0.5534 GB, free: 69.78 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007814/0.4444, allocations: 0.632 MB / 0.5541 GB, free: 69.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006768/0.4451, allocations: 0.715 MB / 0.5548 GB, free: 68.73 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002967/0.4454, allocations: 159.1 kB / 0.5549 GB, free: 68.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.844e-05/0.4455, allocations: 127.1 kB / 0.555 GB, free: 68.55 MB / 414.1 MB Notification: Performance of Backend: time 4.01e-07/0.4455, allocations: 0 / 0.555 GB, free: 68.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005479/0.451, allocations: 1.949 MB / 0.5569 GB, free: 68.1 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006368/0.4516, allocations: 0.8239 MB / 0.5577 GB, free: 67.37 MB / 414.1 MB Notification: Performance of Templates: time 0.03077/0.4824, allocations: 30.81 MB / 0.5878 GB, free: 37.7 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1)