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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001729/0.001729, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0773/0.0773, allocations: 9.096 MB / 25.83 MB, free: 3.414 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 99.48 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 51.92 kB / 341.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1837, allocations: 48.16 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01736/0.2011, allocations: 18.13 MB / 407.4 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02547/0.2266, allocations: 32.7 MB / 440.1 MB, free: 3.531 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.2268, allocations: 4 kB / 440.1 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.2278, allocations: 362.4 kB / 440.4 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.2283, allocations: 127.2 kB / 440.5 MB, free: 3.047 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.023/0.2513, allocations: 8.131 MB / 448.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005497/0.2519, allocations: 422.3 kB / 449.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.733e-05/0.252, allocations: 20.41 kB / 449.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.2523, allocations: 155.3 kB / 449.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.2526, allocations: 123.5 kB / 449.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.2526, allocations: 4 kB / 449.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01829/0.2709, allocations: 10.52 MB / 459.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2711, allocations: 35.83 kB / 459.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.2713, allocations: 99.53 kB / 460 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.2839, allocations: 4.611 MB / 464.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.284, allocations: 4 kB / 464.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.284, allocations: 0 / 464.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.284, allocations: 4 kB / 464.6 MB, free: 10.88 MB / 346.7 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.002527/0.2866, allocations: 1.134 MB / 465.8 MB, free: 9.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.2866, allocations: 8.031 kB / 465.8 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.2869, allocations: 43.64 kB / 465.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.2872, allocations: 222.6 kB / 466 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.2872, allocations: 11.94 kB / 466.1 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2872, allocations: 4 kB / 466.1 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.2878, allocations: 255.7 kB / 466.3 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2879, allocations: 3.938 kB / 466.3 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.2879, allocations: 8 kB / 466.3 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2879, allocations: 4 kB / 466.3 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.2886, allocations: 234.6 kB / 466.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.2896, allocations: 1.067 MB / 467.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.2902, allocations: 250.2 kB / 467.9 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.2905, allocations: 155.4 kB / 468 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2267/0.5172, allocations: 46.25 MB / 0.5022 GB, free: 98.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.5173, allocations: 36.28 kB / 0.5023 GB, free: 98.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.5173, allocations: 0 / 0.5023 GB, free: 98.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001473/0.5187, allocations: 464.6 kB / 0.5027 GB, free: 97.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.5188, allocations: 130.7 kB / 0.5028 GB, free: 97.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.519, allocations: 181.8 kB / 0.503 GB, free: 97.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.519, allocations: 26.77 kB / 0.503 GB, free: 97.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.5191, allocations: 120.1 kB / 0.5031 GB, free: 97.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.5192, allocations: 93.66 kB / 0.5032 GB, free: 97.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.5193, allocations: 43.59 kB / 0.5033 GB, free: 97.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.288e-05/0.5193, allocations: 337.9 kB / 0.5036 GB, free: 97.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.5197, allocations: 102.8 kB / 0.5037 GB, free: 96.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.52, allocations: 163.4 kB / 0.5038 GB, free: 96.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.5207, allocations: 291 kB / 0.5041 GB, free: 96.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5207, allocations: 0.5938 kB / 0.5041 GB, free: 96.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007973/0.5215, allocations: 313.4 kB / 0.5044 GB, free: 96.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.5216, allocations: 6 kB / 0.5044 GB, free: 96.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5216, allocations: 1.688 kB / 0.5044 GB, free: 96.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.5216, allocations: 2.406 kB / 0.5044 GB, free: 96.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.5219, allocations: 51.23 kB / 0.5045 GB, free: 96.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.5219, allocations: 9.25 kB / 0.5045 GB, free: 96.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.5221, allocations: 39.25 kB / 0.5045 GB, free: 96.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.5222, allocations: 7.938 kB / 0.5045 GB, free: 96.49 MB / 378.7 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.0001194/0.5223, allocations: 140.9 kB / 0.5047 GB, free: 96.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/0.5224, allocations: 20.91 kB / 0.5047 GB, free: 96.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006045/0.523, allocations: 374.6 kB / 0.505 GB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.523, allocations: 7.953 kB / 0.505 GB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5231, allocations: 0 / 0.505 GB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5231, allocations: 3.938 kB / 0.5051 GB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.5235, allocations: 328.4 kB / 0.5054 GB, free: 95.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5235, allocations: 3.969 kB / 0.5054 GB, free: 95.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.5237, allocations: 39.73 kB / 0.5054 GB, free: 95.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5237, allocations: 0 / 0.5054 GB, free: 95.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.5237, allocations: 7.969 kB / 0.5054 GB, free: 95.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5237, allocations: 0 / 0.5054 GB, free: 95.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5237, allocations: 3.938 kB / 0.5054 GB, free: 95.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5249, allocations: 1.383 MB / 0.5068 GB, free: 94.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.5249, allocations: 107.1 kB / 0.5069 GB, free: 94.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.525, allocations: 2.219 kB / 0.5069 GB, free: 94.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.5253, allocations: 27.45 kB / 0.5069 GB, free: 94.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.5254, allocations: 15.88 kB / 0.5069 GB, free: 94.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.5254, allocations: 12.42 kB / 0.5069 GB, free: 94.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.109e-05/0.5255, allocations: 125.8 kB / 0.507 GB, free: 94.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5255, allocations: 0 / 0.507 GB, free: 94.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002095/0.5276, allocations: 0.8008 MB / 0.5078 GB, free: 94.3 MB / 378.7 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.002644/0.5303, allocations: 1.185 MB / 0.509 GB, free: 93.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000674/0.5309, allocations: 283 kB / 0.5093 GB, free: 93.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.531, allocations: 4 kB / 0.5093 GB, free: 93.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.5313, allocations: 162.7 kB / 0.5094 GB, free: 93.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000858/0.5321, allocations: 92.62 kB / 0.5095 GB, free: 93.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/0.5329, allocations: 0.7878 MB / 0.5103 GB, free: 92.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.5331, allocations: 0.7474 MB / 0.511 GB, free: 91.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000165/0.5333, allocations: 50.95 kB / 0.511 GB, free: 91.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.5333, allocations: 18.19 kB / 0.5111 GB, free: 91.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5334, allocations: 0 / 0.5111 GB, free: 91.54 MB / 378.7 MB Notification: Performance of Templates: time 0.02538/0.5587, allocations: 23.98 MB / 0.5345 GB, free: 67.61 MB / 378.7 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)