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.001532/0.001532, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.00124/0.00124, allocations: 192.1 kB / 17.31 MB, free: 5.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.695/1.695, 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.04732/0.04732, allocations: 9.107 MB / 279.6 MB, free: 2.969 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.001633/0.001634, allocations: 67.91 kB / 339.5 MB, free: 7.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3406, allocations: 48.15 MB / 387.6 MB, free: 51.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02231/0.363, allocations: 17.87 MB / 405.5 MB, free: 38.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02934/0.3924, allocations: 32.22 MB / 437.7 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.3927, allocations: 7.938 kB / 437.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.394, allocations: 423.4 kB / 438.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.3945, allocations: 127.1 kB / 438.3 MB, free: 8.719 MB / 318.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.03543/0.43, allocations: 9.451 MB / 447.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007361/0.4307, allocations: 382.5 kB / 448.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.4308, allocations: 20.39 kB / 448.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.4312, allocations: 171.3 kB / 448.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.4314, allocations: 111.5 kB / 448.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.4315, allocations: 16 kB / 448.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02467/0.4561, allocations: 11.47 MB / 459.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.4563, allocations: 39.84 kB / 459.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.4566, allocations: 103.5 kB / 460 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02171/0.4783, allocations: 4.752 MB / 464.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4784, allocations: 0 / 464.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.11e-06/0.4784, allocations: 7.984 kB / 464.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.4784, allocations: 0 / 464.8 MB, free: 14.17 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.003918/0.4824, allocations: 1.135 MB / 465.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.4824, allocations: 8.031 kB / 465.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.4828, allocations: 35.7 kB / 465.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.4833, allocations: 230.6 kB / 466.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.4834, allocations: 11.94 kB / 466.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.4834, allocations: 12 kB / 466.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007075/0.4841, allocations: 251.6 kB / 466.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4842, allocations: 0 / 466.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.4842, allocations: 12 kB / 466.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.4842, allocations: 5 kB / 466.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.4849, allocations: 231.9 kB / 466.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.4861, allocations: 1.067 MB / 467.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.4867, allocations: 246.3 kB / 468 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.4871, allocations: 155.5 kB / 468.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08652/0.5736, allocations: 46.25 MB / 0.5023 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.15e-05/0.5737, allocations: 38.56 kB / 0.5024 GB, free: 4.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 3.647e-06/0.5737, allocations: 0 / 0.5024 GB, free: 4.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001767/0.5755, allocations: 472.7 kB / 0.5028 GB, free: 3.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/0.5756, allocations: 136.5 kB / 0.503 GB, free: 3.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.5759, allocations: 179.9 kB / 0.5031 GB, free: 3.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.5759, allocations: 25.7 kB / 0.5032 GB, free: 3.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.576, allocations: 120.5 kB / 0.5033 GB, free: 3.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.5761, allocations: 90.58 kB / 0.5034 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.5762, allocations: 45.69 kB / 0.5034 GB, free: 3.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.5765, allocations: 330.8 kB / 0.5037 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.5767, allocations: 107.9 kB / 0.5038 GB, free: 2.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.5771, allocations: 165.9 kB / 0.504 GB, free: 2.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.5777, allocations: 278.6 kB / 0.5042 GB, free: 2.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.5777, allocations: 2.75 kB / 0.5042 GB, free: 2.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007018/0.5784, allocations: 318.8 kB / 0.5045 GB, free: 2.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.5784, allocations: 8 kB / 0.5046 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5785, allocations: 0 / 0.5046 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.5785, allocations: 4 kB / 0.5046 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.5788, allocations: 51.83 kB / 0.5046 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5788, allocations: 4.188 kB / 0.5046 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.579, allocations: 36 kB / 0.5046 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.579, allocations: 11.94 kB / 0.5047 GB, free: 1.922 MB / 398.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.0001906/0.5792, allocations: 142.3 kB / 0.5048 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5794, allocations: 23.72 kB / 0.5048 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006777/0.5801, allocations: 357 kB / 0.5052 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5801, allocations: 4 kB / 0.5052 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.5801, allocations: 11.97 kB / 0.5052 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5801, allocations: 0 / 0.5052 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.5807, allocations: 325.7 kB / 0.5055 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5807, allocations: 0 / 0.5055 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.5809, allocations: 43.89 kB / 0.5055 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5809, allocations: 0 / 0.5055 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.5809, allocations: 8 kB / 0.5055 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5809, allocations: 0 / 0.5055 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5809, allocations: 0 / 0.5055 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.5817, allocations: 0.6469 MB / 0.5062 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.5818, allocations: 96.8 kB / 0.5063 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.5819, allocations: 9.5 kB / 0.5063 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.5822, allocations: 19.97 kB / 0.5063 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.5823, allocations: 27.91 kB / 0.5063 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.5823, allocations: 4 kB / 0.5063 GB, free: 128 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.5824, allocations: 132.1 kB / 0.5064 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5824, allocations: 0 / 0.5064 GB, free: 15.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002927/0.5853, allocations: 0.7885 MB / 0.5072 GB, free: 15.21 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.00308/0.5884, allocations: 1.19 MB / 0.5084 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006972/0.5891, allocations: 279.6 kB / 0.5086 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5892, allocations: 0 / 0.5086 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.5895, allocations: 175.6 kB / 0.5088 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008205/0.5903, allocations: 91.58 kB / 0.5089 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.5912, allocations: 484.9 kB / 0.5094 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.5916, allocations: 0.7363 MB / 0.5101 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.5918, allocations: 47.23 kB / 0.5101 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.5918, allocations: 23.42 kB / 0.5101 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5918, allocations: 4 kB / 0.5101 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Templates: time 0.2808/0.8727, allocations: 24.15 MB / 0.5337 GB, free: 135.6 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 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1)