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.0008337/0.0008337, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005228/0.005228, allocations: 175.8 kB / 16.27 MB, free: 6.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.447/1.447, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0442/0.0442, allocations: 9.077 MB / 279.8 MB, free: 12.14 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.0005218/0.0005221, allocations: 16.22 kB / 339.7 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.078/0.07853, allocations: 49.18 MB / 388.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01777/0.09635, allocations: 17.6 MB / 406.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1921/0.2885, allocations: 32.33 MB / 438.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.2887, allocations: 1.156 kB / 438.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.2898, allocations: 375 kB / 439.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.2902, allocations: 118.5 kB / 439.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02313/0.3133, allocations: 8.147 MB / 447.5 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000517/0.3138, allocations: 412.1 kB / 447.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.984e-05/0.3139, allocations: 17.56 kB / 447.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.3142, allocations: 159.3 kB / 448.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.3144, allocations: 115.3 kB / 448.2 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.3144, allocations: 10.84 kB / 448.2 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01728/0.3317, allocations: 10.53 MB / 458.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.3318, allocations: 33.52 kB / 458.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.332, allocations: 129.3 kB / 458.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.3426, allocations: 4.585 MB / 463.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3427, allocations: 0 / 463.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3427, allocations: 3.688 kB / 463.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.3427, allocations: 0 / 463.5 MB, free: 5.176 MB / 318.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.002374/0.3451, allocations: 1.122 MB / 464.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3451, allocations: 10.06 kB / 464.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.3454, allocations: 38.42 kB / 464.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3456, allocations: 218.3 kB / 464.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.3456, allocations: 17.59 kB / 464.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3456, allocations: 11.95 kB / 464.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.3462, allocations: 267.5 kB / 465.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3462, allocations: 3.25 kB / 465.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.3463, allocations: 4 kB / 465.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3463, allocations: 11.11 kB / 465.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.3469, allocations: 263.1 kB / 465.4 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.3478, allocations: 1.083 MB / 466.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.3483, allocations: 254 kB / 466.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.3486, allocations: 169.8 kB / 466.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0814/0.43, allocations: 45.2 MB / 0.5001 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.4301, allocations: 38.56 kB / 0.5001 GB, free: 13.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.4301, allocations: 0 / 0.5001 GB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001615/0.4317, allocations: 0.5009 MB / 0.5006 GB, free: 12.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.4318, allocations: 136.5 kB / 0.5008 GB, free: 12.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.432, allocations: 180.1 kB / 0.5009 GB, free: 12.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.432, allocations: 29.7 kB / 0.501 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.4321, allocations: 116.4 kB / 0.5011 GB, free: 12.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.4322, allocations: 96.89 kB / 0.5012 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.4322, allocations: 25.7 kB / 0.5012 GB, free: 12.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4323, allocations: 338.8 kB / 0.5015 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.4326, allocations: 119.9 kB / 0.5016 GB, free: 11.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.433, allocations: 177.9 kB / 0.5018 GB, free: 11.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.4336, allocations: 314.6 kB / 0.5021 GB, free: 11.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4336, allocations: 0 / 0.5021 GB, free: 11.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007406/0.4343, allocations: 346 kB / 0.5024 GB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4344, allocations: 10.33 kB / 0.5024 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4344, allocations: 4 kB / 0.5024 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4344, allocations: 8.156 kB / 0.5024 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.4347, allocations: 47.91 kB / 0.5025 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4347, allocations: 7.984 kB / 0.5025 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.4349, allocations: 43.73 kB / 0.5025 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.4349, allocations: 15.92 kB / 0.5026 GB, free: 10.79 MB / 382.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.0001212/0.4351, allocations: 133.7 kB / 0.5027 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.4352, allocations: 19.81 kB / 0.5027 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006532/0.4359, allocations: 380 kB / 0.5031 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.4359, allocations: 7.984 kB / 0.5031 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4359, allocations: 4 kB / 0.5031 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4359, allocations: 4 kB / 0.5031 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.4364, allocations: 320.9 kB / 0.5034 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4364, allocations: 4 kB / 0.5034 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4366, allocations: 48.64 kB / 0.5034 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4366, allocations: 4 kB / 0.5034 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.4367, allocations: 8 kB / 0.5034 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.4367, allocations: 9.625 kB / 0.5035 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4367, allocations: 0 / 0.5035 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.4375, allocations: 0.6674 MB / 0.5041 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.4376, allocations: 101.5 kB / 0.5042 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.4376, allocations: 4 kB / 0.5042 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.4379, allocations: 31.97 kB / 0.5042 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.438, allocations: 23.91 kB / 0.5043 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.438, allocations: 7.984 kB / 0.5043 GB, free: 8.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.35e-05/0.4381, allocations: 124.1 kB / 0.5044 GB, free: 8.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4381, allocations: 7.938 kB / 0.5044 GB, free: 8.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002036/0.4402, allocations: 0.7924 MB / 0.5052 GB, free: 8.031 MB / 382.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.003491/0.4437, allocations: 1.179 MB / 0.5063 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000725/0.4444, allocations: 307.9 kB / 0.5066 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4444, allocations: 4 kB / 0.5066 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.4448, allocations: 180 kB / 0.5068 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009194/0.4457, allocations: 92.36 kB / 0.5069 GB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.4466, allocations: 0.5823 MB / 0.5074 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.4469, allocations: 0.7403 MB / 0.5082 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.4471, allocations: 52.48 kB / 0.5082 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.4471, allocations: 19.38 kB / 0.5082 GB, free: 4.926 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4472, allocations: 0 / 0.5082 GB, free: 4.926 MB / 382.1 MB Notification: Performance of Templates: time 0.035/0.4822, allocations: 23.85 MB / 0.5315 GB, free: 13.08 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: