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.005611/0.005611, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001177/0.001177, allocations: 197 kB / 16.67 MB, free: 5.52 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.343/1.343, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04733/0.04733, allocations: 9.093 MB / 279 MB, free: 2.973 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.001468/0.001468, allocations: 70.92 kB / 387.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06559/0.06707, allocations: 48.17 MB / 435.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01676/0.08386, allocations: 17.89 MB / 453.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02898/0.1129, allocations: 32.21 MB / 485.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1131, allocations: 0 / 485.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.1141, allocations: 482 kB / 486.2 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.1146, allocations: 147.1 kB / 486.3 MB, free: 4.77 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.02431/0.1389, allocations: 9.989 MB / 496.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006211/0.1396, allocations: 386.4 kB / 496.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1397, allocations: 16.41 kB / 496.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.1402, allocations: 171.4 kB / 496.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.1405, allocations: 119.5 kB / 497 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.1406, allocations: 16 kB / 497 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01939/0.16, allocations: 11.46 MB / 0.4965 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.881e-05/0.1601, allocations: 43.83 kB / 0.4966 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1603, allocations: 107.4 kB / 0.4967 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.1723, allocations: 4.755 MB / 0.5013 GB, free: 9.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.1724, allocations: 4 kB / 0.5013 GB, free: 9.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1724, allocations: 0 / 0.5013 GB, free: 9.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1724, allocations: 0 / 0.5013 GB, free: 9.664 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.002843/0.1752, allocations: 1.138 MB / 0.5024 GB, free: 8.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1753, allocations: 8.031 kB / 0.5024 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.1756, allocations: 35.7 kB / 0.5025 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1759, allocations: 218.6 kB / 0.5027 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.1759, allocations: 15.94 kB / 0.5027 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.176, allocations: 12 kB / 0.5027 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.1766, allocations: 263.4 kB / 0.503 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.1766, allocations: 0 / 0.503 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.1767, allocations: 8 kB / 0.503 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1767, allocations: 7.984 kB / 0.503 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.1774, allocations: 230.1 kB / 0.5032 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.1785, allocations: 1.079 MB / 0.5043 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/0.179, allocations: 238.3 kB / 0.5045 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.1794, allocations: 155.3 kB / 0.5046 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2616/0.441, allocations: 46.24 MB / 0.5498 GB, free: 71.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.441, allocations: 39.34 kB / 0.5498 GB, free: 71.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/0.4411, allocations: 2.312 kB / 0.5498 GB, free: 71.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001616/0.4427, allocations: 464.7 kB / 0.5503 GB, free: 71.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.4427, allocations: 129.8 kB / 0.5504 GB, free: 71.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.4429, allocations: 181.7 kB / 0.5506 GB, free: 71.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.4429, allocations: 30.48 kB / 0.5506 GB, free: 71.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.443, allocations: 120.5 kB / 0.5507 GB, free: 71.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.4431, allocations: 89.25 kB / 0.5508 GB, free: 71.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/0.4431, allocations: 45.53 kB / 0.5508 GB, free: 71.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.4432, allocations: 339.4 kB / 0.5512 GB, free: 70.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.4435, allocations: 107.3 kB / 0.5513 GB, free: 70.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.4438, allocations: 163.3 kB / 0.5514 GB, free: 70.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.4444, allocations: 289.1 kB / 0.5517 GB, free: 70.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4444, allocations: 0 / 0.5517 GB, free: 70.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007932/0.4452, allocations: 314.4 kB / 0.552 GB, free: 70.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4452, allocations: 5.844 kB / 0.552 GB, free: 70.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4452, allocations: 1.281 kB / 0.552 GB, free: 70.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.4452, allocations: 2.719 kB / 0.552 GB, free: 70.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.4455, allocations: 51.55 kB / 0.5521 GB, free: 70.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4455, allocations: 3.969 kB / 0.5521 GB, free: 70.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.4458, allocations: 36.25 kB / 0.5521 GB, free: 70.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.4458, allocations: 3.969 kB / 0.5521 GB, free: 70.3 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.0001081/0.4459, allocations: 143 kB / 0.5522 GB, free: 70.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.446, allocations: 22.69 kB / 0.5523 GB, free: 70.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/0.4466, allocations: 369 kB / 0.5526 GB, free: 69.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4466, allocations: 7.797 kB / 0.5526 GB, free: 69.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4466, allocations: 0 / 0.5526 GB, free: 69.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4466, allocations: 0 / 0.5526 GB, free: 69.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.4471, allocations: 318.3 kB / 0.5529 GB, free: 69.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4471, allocations: 3.969 kB / 0.5529 GB, free: 69.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.4473, allocations: 46.45 kB / 0.553 GB, free: 69.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4473, allocations: 0 / 0.553 GB, free: 69.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.4473, allocations: 7.688 kB / 0.553 GB, free: 69.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4473, allocations: 0 / 0.553 GB, free: 69.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4473, allocations: 0 / 0.553 GB, free: 69.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.448, allocations: 0.6467 MB / 0.5536 GB, free: 69.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.4481, allocations: 104.5 kB / 0.5537 GB, free: 69.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.4481, allocations: 1.312 kB / 0.5537 GB, free: 69.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.4484, allocations: 23.78 kB / 0.5537 GB, free: 69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.4485, allocations: 27.69 kB / 0.5538 GB, free: 68.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.4485, allocations: 3.906 kB / 0.5538 GB, free: 68.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.4486, allocations: 123.7 kB / 0.5539 GB, free: 68.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4486, allocations: 0.9844 kB / 0.5539 GB, free: 68.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001788/0.4504, allocations: 0.7917 MB / 0.5547 GB, free: 68.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003105/0.4535, allocations: 1.191 MB / 0.5558 GB, free: 68.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000641/0.4541, allocations: 281.5 kB / 0.5561 GB, free: 68.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4542, allocations: 3.938 kB / 0.5561 GB, free: 68.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.4545, allocations: 167.5 kB / 0.5562 GB, free: 68.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009145/0.4554, allocations: 98.89 kB / 0.5563 GB, free: 68.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.4561, allocations: 478 kB / 0.5568 GB, free: 67.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.4563, allocations: 0.7427 MB / 0.5575 GB, free: 67.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.4565, allocations: 49.48 kB / 0.5576 GB, free: 67.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.4565, allocations: 23.28 kB / 0.5576 GB, free: 67.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4565, allocations: 0 / 0.5576 GB, free: 67.17 MB / 414.1 MB Notification: Performance of Templates: time 0.03191/0.4885, allocations: 24.19 MB / 0.5812 GB, free: 43.68 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)