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.006014/0.006014, allocations: 103 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.001723/0.001724, allocations: 197.4 kB / 16.68 MB, free: 5.953 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04739/0.04739, allocations: 9.092 MB / 279 MB, free: 12.08 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.001563/0.001563, allocations: 71.89 kB / 387.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 48.15 MB / 435.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01808/0.2524, allocations: 17.9 MB / 453.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02958/0.282, allocations: 32.22 MB / 485.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.2822, allocations: 0 / 485.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.2835, allocations: 418 kB / 486.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.284, allocations: 135.1 kB / 486.2 MB, free: 13.95 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.02503/0.3091, allocations: 9.427 MB / 495.7 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.3097, allocations: 382.4 kB / 496 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.46e-05/0.3098, allocations: 24.39 kB / 496.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.3101, allocations: 175.3 kB / 496.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3103, allocations: 115.5 kB / 496.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.3103, allocations: 15.94 kB / 496.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/0.329, allocations: 11.46 MB / 0.4959 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.614e-05/0.3291, allocations: 43.77 kB / 0.496 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.3293, allocations: 107.5 kB / 0.4961 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.3401, allocations: 4.752 MB / 0.5007 GB, free: 3.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3401, allocations: 0 / 0.5007 GB, free: 3.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3401, allocations: 0 / 0.5007 GB, free: 3.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3401, allocations: 0 / 0.5007 GB, free: 3.391 MB / 382.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.002241/0.3423, allocations: 1.146 MB / 0.5018 GB, free: 2.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3424, allocations: 8.031 kB / 0.5018 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.3426, allocations: 35.7 kB / 0.5019 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.343, allocations: 222.6 kB / 0.5021 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.343, allocations: 11.94 kB / 0.5021 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3431, allocations: 12 kB / 0.5021 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.3437, allocations: 263.5 kB / 0.5024 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3437, allocations: 0 / 0.5024 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.3437, allocations: 4 kB / 0.5024 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3437, allocations: 7.984 kB / 0.5024 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.3444, allocations: 224 kB / 0.5026 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.3453, allocations: 1.079 MB / 0.5036 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.3459, allocations: 238.3 kB / 0.5039 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.3462, allocations: 147.4 kB / 0.504 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08071/0.4269, allocations: 46.26 MB / 0.5492 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.427, allocations: 38.56 kB / 0.5492 GB, free: 9.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.435e-06/0.427, allocations: 0 / 0.5492 GB, free: 9.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001502/0.4285, allocations: 464.5 kB / 0.5497 GB, free: 9.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.4286, allocations: 140.5 kB / 0.5498 GB, free: 8.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4287, allocations: 179.9 kB / 0.55 GB, free: 8.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4288, allocations: 25.8 kB / 0.55 GB, free: 8.734 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.4289, allocations: 128.4 kB / 0.5501 GB, free: 8.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.4289, allocations: 94.59 kB / 0.5502 GB, free: 8.508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.429, allocations: 37.7 kB / 0.5502 GB, free: 8.465 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4291, allocations: 334.8 kB / 0.5506 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.4294, allocations: 103.9 kB / 0.5507 GB, free: 8.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.4297, allocations: 161.9 kB / 0.5508 GB, free: 7.848 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.4303, allocations: 287.2 kB / 0.5511 GB, free: 7.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4303, allocations: 4 kB / 0.5511 GB, free: 7.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006803/0.431, allocations: 314 kB / 0.5514 GB, free: 7.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.431, allocations: 12.02 kB / 0.5514 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4311, allocations: 4 kB / 0.5514 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4311, allocations: 3.984 kB / 0.5514 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.4314, allocations: 51.89 kB / 0.5515 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4314, allocations: 4 kB / 0.5515 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.4316, allocations: 31.83 kB / 0.5515 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4316, allocations: 15.92 kB / 0.5515 GB, free: 7.105 MB / 446.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.0001123/0.4317, allocations: 133.8 kB / 0.5516 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.4318, allocations: 15.81 kB / 0.5516 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006278/0.4325, allocations: 368.8 kB / 0.552 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4325, allocations: 11.97 kB / 0.552 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4325, allocations: 0 / 0.552 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4325, allocations: 4 kB / 0.552 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.433, allocations: 321.7 kB / 0.5523 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.433, allocations: 0 / 0.5523 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.4332, allocations: 39.95 kB / 0.5524 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4332, allocations: 4 kB / 0.5524 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4332, allocations: 7.938 kB / 0.5524 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4332, allocations: 3.984 kB / 0.5524 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4333, allocations: 4 kB / 0.5524 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007766/0.434, allocations: 0.6353 MB / 0.553 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.4341, allocations: 100.8 kB / 0.5531 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.4341, allocations: 0 / 0.5531 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.4344, allocations: 23.97 kB / 0.5531 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.4345, allocations: 27.84 kB / 0.5531 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.4345, allocations: 8 kB / 0.5532 GB, free: 5.316 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.12e-05/0.4346, allocations: 124.1 kB / 0.5533 GB, free: 5.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4346, allocations: 0 / 0.5533 GB, free: 5.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001989/0.4366, allocations: 0.8041 MB / 0.5541 GB, free: 4.391 MB / 446.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.002756/0.4394, allocations: 1.197 MB / 0.5552 GB, free: 3.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007131/0.4401, allocations: 280 kB / 0.5555 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4401, allocations: 0 / 0.5555 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.4405, allocations: 159.8 kB / 0.5556 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/0.4414, allocations: 100.6 kB / 0.5557 GB, free: 2.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007587/0.4421, allocations: 472.8 kB / 0.5562 GB, free: 2.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.4425, allocations: 0.7441 MB / 0.5569 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.4426, allocations: 48.48 kB / 0.557 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.4427, allocations: 19.44 kB / 0.557 GB, free: 1.324 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4427, allocations: 3.938 kB / 0.557 GB, free: 1.32 MB / 446.1 MB Notification: Performance of Templates: time 0.03082/0.4735, allocations: 24.19 MB / 0.5806 GB, free: 9.117 MB / 478.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)