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.007533/0.007533, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001299/0.001299, allocations: 189.8 kB / 16.67 MB, free: 5.871 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.413/1.413, allocations: 205.1 MB / 222.6 MB, free: 4.441 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04561/0.04561, allocations: 9.091 MB / 279 MB, free: 12.02 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.001388/0.001389, allocations: 74.39 kB / 387.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2758, 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.01893/0.2947, allocations: 17.89 MB / 453.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03088/0.3256, allocations: 32.22 MB / 485.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.3259, allocations: 0 / 485.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.327, allocations: 422 kB / 486.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.3275, allocations: 139.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.02643/0.3539, allocations: 9.433 MB / 495.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006109/0.3546, allocations: 386.4 kB / 496.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.232e-05/0.3546, allocations: 16.41 kB / 496.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.355, allocations: 167.3 kB / 496.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.3552, allocations: 115.6 kB / 496.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.3552, allocations: 16 kB / 496.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02171/0.3769, allocations: 11.47 MB / 0.4959 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3771, allocations: 47.81 kB / 0.496 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.3773, allocations: 99.53 kB / 0.4961 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.3928, allocations: 4.758 MB / 0.5007 GB, free: 3.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3929, allocations: 0 / 0.5007 GB, free: 3.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3929, allocations: 4 kB / 0.5007 GB, free: 3.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3929, allocations: 4 kB / 0.5007 GB, free: 3.383 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.002499/0.3954, allocations: 1.176 MB / 0.5019 GB, free: 2.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3955, allocations: 8.031 kB / 0.5019 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.3957, allocations: 35.84 kB / 0.5019 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.396, allocations: 234.6 kB / 0.5021 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.3961, allocations: 11.94 kB / 0.5021 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3961, allocations: 7.938 kB / 0.5022 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.3967, allocations: 259.5 kB / 0.5024 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3967, allocations: 0 / 0.5024 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.3968, allocations: 8 kB / 0.5024 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3968, allocations: 11.92 kB / 0.5024 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/0.3974, allocations: 239.9 kB / 0.5026 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3985, allocations: 1.071 MB / 0.5037 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.399, allocations: 234.3 kB / 0.5039 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.3993, allocations: 159.4 kB / 0.5041 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08387/0.4832, allocations: 46.25 MB / 0.5492 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.4833, allocations: 38.5 kB / 0.5493 GB, free: 9.508 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.4833, allocations: 0 / 0.5493 GB, free: 9.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001533/0.4848, allocations: 472.7 kB / 0.5497 GB, free: 9.043 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4849, allocations: 132.5 kB / 0.5499 GB, free: 8.883 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.4851, allocations: 179.9 kB / 0.55 GB, free: 8.699 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.4851, allocations: 29.7 kB / 0.5501 GB, free: 8.664 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.4852, allocations: 124.5 kB / 0.5502 GB, free: 8.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.4853, allocations: 83.22 kB / 0.5503 GB, free: 8.453 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.4853, allocations: 45.73 kB / 0.5503 GB, free: 8.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4855, allocations: 334.8 kB / 0.5506 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.4857, allocations: 107.9 kB / 0.5507 GB, free: 7.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.486, allocations: 161.9 kB / 0.5509 GB, free: 7.781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.4866, allocations: 283.3 kB / 0.5511 GB, free: 7.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4867, allocations: 0 / 0.5511 GB, free: 7.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006921/0.4874, allocations: 326 kB / 0.5515 GB, free: 7.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.4874, allocations: 8 kB / 0.5515 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4874, allocations: 0 / 0.5515 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.4874, allocations: 4 kB / 0.5515 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.4877, allocations: 52.08 kB / 0.5515 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4877, allocations: 0 / 0.5515 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.4879, allocations: 31.88 kB / 0.5515 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.4879, allocations: 11.92 kB / 0.5516 GB, free: 7.051 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.0001224/0.4881, allocations: 133.8 kB / 0.5517 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.379e-05/0.4882, allocations: 19.86 kB / 0.5517 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006364/0.4888, allocations: 361 kB / 0.552 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.4888, allocations: 15.92 kB / 0.5521 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4888, allocations: 0 / 0.5521 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4889, allocations: 4 kB / 0.5521 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.4894, allocations: 325.7 kB / 0.5524 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4894, allocations: 0 / 0.5524 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.4896, allocations: 43.91 kB / 0.5524 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4896, allocations: 0 / 0.5524 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.4896, allocations: 8.172 kB / 0.5524 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4896, allocations: 0 / 0.5524 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4896, allocations: 3.938 kB / 0.5524 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.4904, allocations: 0.6392 MB / 0.5531 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.4905, allocations: 112.8 kB / 0.5532 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.4905, allocations: 4 kB / 0.5532 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.4908, allocations: 19.98 kB / 0.5532 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.4909, allocations: 27.91 kB / 0.5532 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.4909, allocations: 11.98 kB / 0.5532 GB, free: 5.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.741e-05/0.491, allocations: 120.1 kB / 0.5533 GB, free: 5.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.491, allocations: 4 kB / 0.5533 GB, free: 5.121 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001969/0.493, allocations: 0.8023 MB / 0.5541 GB, free: 4.316 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.002905/0.4959, allocations: 1.199 MB / 0.5553 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007756/0.4967, allocations: 291.7 kB / 0.5556 GB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4967, allocations: 0 / 0.5556 GB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.4971, allocations: 164.2 kB / 0.5557 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/0.4979, allocations: 101.5 kB / 0.5558 GB, free: 2.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/0.4988, allocations: 492.2 kB / 0.5563 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4991, allocations: 0.7363 MB / 0.557 GB, free: 1.285 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.4992, allocations: 48.48 kB / 0.5571 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.4993, allocations: 27.42 kB / 0.5571 GB, free: 1.211 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4993, allocations: 0 / 0.5571 GB, free: 1.211 MB / 446.1 MB Notification: Performance of Templates: time 0.03233/0.5316, allocations: 24.19 MB / 0.5807 GB, free: 9.012 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)