Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.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.Parameter.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") translateModel(HelmholtzMedia.Examples.Parameter.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001617, allocations: 180.4 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.06957/0.06957, allocations: 9.084 MB / 25.82 MB, free: 3.406 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.608/1.608, allocations: 205.1 MB / 233.2 MB, free: 14.19 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.001008/0.001008, allocations: 101.8 kB / 282.1 MB, free: 15.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001134, allocations: 51.91 kB / 341.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3184, allocations: 48.15 MB / 389.2 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02464/0.3431, allocations: 19.18 MB / 408.4 MB, free: 19.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006832/0.35, allocations: 7.618 MB / 416 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.3503, allocations: 0 / 416 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3515, allocations: 397.2 kB / 416.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.3522, allocations: 230.6 kB / 416.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0105/0.3627, allocations: 3.544 MB / 420.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.3632, allocations: 350 kB / 420.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.3633, allocations: 20.31 kB / 420.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.3636, allocations: 159.2 kB / 420.7 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3637, allocations: 71.61 kB / 420.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3637, allocations: 4 kB / 420.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.3747, allocations: 6.416 MB / 427.2 MB, free: 492 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.3748, allocations: 11.94 kB / 427.2 MB, free: 480 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.3751, allocations: 95.5 kB / 427.3 MB, free: 384 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009368/0.3845, allocations: 3.028 MB / 430.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3845, allocations: 0 / 430.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3845, allocations: 0 / 430.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3845, allocations: 4 kB / 430.3 MB, free: 13.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001746/0.3863, allocations: 0.7406 MB / 431.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.3863, allocations: 11.97 kB / 431.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.3864, allocations: 23.7 kB / 431.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.3866, allocations: 182.8 kB / 431.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3866, allocations: 7.938 kB / 431.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3866, allocations: 7.938 kB / 431.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.3869, allocations: 165 kB / 431.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3869, allocations: 3.984 kB / 431.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3869, allocations: 4 kB / 431.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.387, allocations: 11.97 kB / 431.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.3871, allocations: 128.5 kB / 431.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.3875, allocations: 315.6 kB / 431.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3877, allocations: 202.9 kB / 432.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3879, allocations: 193.9 kB / 432.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05157/0.4394, allocations: 28.57 MB / 460.9 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.4395, allocations: 34.56 kB / 460.9 MB, free: 9.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=64): time 2.906e-06/0.4395, allocations: 0 / 460.9 MB, free: 9.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=64): time 0.000675/0.4402, allocations: 0.5415 MB / 461.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.4403, allocations: 55.41 kB / 461.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/0.4404, allocations: 97.86 kB / 461.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4404, allocations: 25.7 kB / 461.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.4404, allocations: 81.45 kB / 461.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.4406, allocations: 196.9 kB / 461.9 MB, free: 8.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.4406, allocations: 49.69 kB / 461.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4408, allocations: 334.7 kB / 462.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.4409, allocations: 132.5 kB / 462.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.441, allocations: 130.7 kB / 462.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.4413, allocations: 340.3 kB / 462.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4413, allocations: 0 / 462.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003817/0.4417, allocations: 365.9 kB / 463.2 MB, free: 7.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4418, allocations: 4 kB / 463.2 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4418, allocations: 4 kB / 463.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4418, allocations: 0 / 463.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.4418, allocations: 0 / 463.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.4418, allocations: 0 / 463.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/0.4419, allocations: 19.69 kB / 463.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4419, allocations: 3.984 kB / 463.2 MB, free: 7.367 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001202/0.4421, allocations: 140.3 kB / 463.4 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.4421, allocations: 15.72 kB / 463.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/0.4428, allocations: 0.7113 MB / 464.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.4428, allocations: 11.97 kB / 464.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4428, allocations: 0 / 464.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.4428, allocations: 4.031 kB / 464.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.4431, allocations: 285.6 kB / 464.4 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4431, allocations: 7.922 kB / 464.4 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.4431, allocations: 0 / 464.4 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4431, allocations: 0 / 464.4 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4431, allocations: 4 kB / 464.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.4431, allocations: 0 / 464.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4431, allocations: 4 kB / 464.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.444, allocations: 1.011 MB / 465.4 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.4441, allocations: 96.86 kB / 465.5 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4441, allocations: 15.78 kB / 465.5 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.867e-05/0.4442, allocations: 4 kB / 465.5 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.4442, allocations: 7.984 kB / 465.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.4442, allocations: 4 kB / 465.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.965e-05/0.4443, allocations: 119.2 kB / 465.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4443, allocations: 0 / 465.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002493/0.4468, allocations: 0.6911 MB / 466.4 MB, free: 4.055 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002786/0.4496, allocations: 1.026 MB / 467.4 MB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.45, allocations: 303.5 kB / 467.7 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.45, allocations: 0 / 467.7 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4502, allocations: 144.4 kB / 467.8 MB, free: 2.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.4515, allocations: 215.8 kB / 468 MB, free: 2.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009376/0.4524, allocations: 0.7734 MB / 468.8 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.4528, allocations: 0.7449 MB / 469.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.036e-05/0.4529, allocations: 12.44 kB / 469.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.4529, allocations: 15.44 kB / 469.6 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4529, allocations: 0 / 469.6 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of Templates: time 0.03401/0.4869, allocations: 25.39 MB / 495 MB, free: 7.344 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1)