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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009119/0.0009118, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009092/0.0009092, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04443/0.04443, allocations: 9.07 MB / 279.4 MB, free: 12.25 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.0004924/0.0004925, allocations: 12.22 kB / 339.1 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0707/0.0712, allocations: 49.2 MB / 388.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01638/0.08762, allocations: 15.78 MB / 404.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006566/0.09422, allocations: 6.492 MB / 410.6 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.0944, allocations: 4 kB / 410.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.09524, allocations: 378.7 kB / 410.9 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.09573, allocations: 239.3 kB / 411.2 MB, free: 1.816 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008153/0.1039, allocations: 3.466 MB / 414.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.1043, allocations: 263.4 kB / 414.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.1043, allocations: 16.31 kB / 414.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/0.1046, allocations: 187.3 kB / 415.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1048, allocations: 75.67 kB / 415.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.1048, allocations: 4 kB / 415.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.1157, allocations: 6.396 MB / 421.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.1158, allocations: 11.88 kB / 421.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1159, allocations: 73.58 kB / 421.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.1188, allocations: 1.669 MB / 423.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1188, allocations: 0 / 423.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1188, allocations: 0 / 423.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1188, allocations: 0 / 423.3 MB, free: 5.656 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001045/0.1199, allocations: 0.7251 MB / 424 MB, free: 4.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1199, allocations: 12.03 kB / 424 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.12, allocations: 19.72 kB / 424.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1201, allocations: 178.9 kB / 424.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1201, allocations: 0 / 424.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.1201, allocations: 4 kB / 424.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1203, allocations: 172.9 kB / 424.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1203, allocations: 0 / 424.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1204, allocations: 4 kB / 424.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.1204, allocations: 11.97 kB / 424.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1205, allocations: 132.5 kB / 424.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.1208, allocations: 311.5 kB / 424.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1209, allocations: 199 kB / 425.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1823/0.3033, allocations: 27.96 MB / 453 MB, free: 23.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3033, allocations: 37.47 kB / 453.1 MB, free: 23.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=64): time 1.883e-06/0.3033, allocations: 0.6562 kB / 453.1 MB, free: 23.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007645/0.3041, allocations: 0.8724 MB / 453.9 MB, free: 23.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.3041, allocations: 57.02 kB / 454 MB, free: 23.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.074e-05/0.3042, allocations: 101.1 kB / 454.1 MB, free: 23.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.3042, allocations: 33.38 kB / 454.1 MB, free: 23.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.278e-05/0.3042, allocations: 81.45 kB / 454.2 MB, free: 22.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.3043, allocations: 199.1 kB / 454.4 MB, free: 22.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.3043, allocations: 0 / 454.4 MB, free: 22.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.3044, allocations: 331.1 kB / 454.7 MB, free: 22.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.3045, allocations: 133.5 kB / 454.8 MB, free: 22.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.71e-05/0.3046, allocations: 139.3 kB / 455 MB, free: 22.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.3047, allocations: 156.1 kB / 455.1 MB, free: 22.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3047, allocations: 0 / 455.1 MB, free: 22.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002788/0.305, allocations: 364.6 kB / 455.5 MB, free: 21.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.305, allocations: 8.156 kB / 455.5 MB, free: 21.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3051, allocations: 3.953 kB / 455.5 MB, free: 21.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3051, allocations: 3.906 kB / 455.5 MB, free: 21.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.3051, allocations: 1.375 kB / 455.5 MB, free: 21.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3051, allocations: 3.562 kB / 455.5 MB, free: 21.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.3052, allocations: 27.8 kB / 455.5 MB, free: 21.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.3052, allocations: 1.375 kB / 455.5 MB, free: 21.96 MB / 318.1 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.liq.phase,sat.vap.phase,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 initialization (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.171e-05/0.3053, allocations: 123.5 kB / 455.7 MB, free: 21.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.3053, allocations: 18.59 kB / 455.7 MB, free: 21.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.3058, allocations: 0.7102 MB / 456.4 MB, free: 21.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.3058, allocations: 14.28 kB / 456.4 MB, free: 21.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3058, allocations: 0 / 456.4 MB, free: 21.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3058, allocations: 1.656 kB / 456.4 MB, free: 21.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.306, allocations: 287.1 kB / 456.7 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.306, allocations: 1.5 kB / 456.7 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.306, allocations: 0 / 456.7 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.306, allocations: 3.375 kB / 456.7 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.306, allocations: 5.188 kB / 456.7 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.306, allocations: 0 / 456.7 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.306, allocations: 1.312 kB / 456.7 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.3063, allocations: 320.7 kB / 457 MB, free: 20.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.3063, allocations: 120.3 kB / 457.1 MB, free: 20.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3064, allocations: 1.469 kB / 457.1 MB, free: 20.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.3064, allocations: 0 / 457.1 MB, free: 20.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.3064, allocations: 9.312 kB / 457.1 MB, free: 20.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3064, allocations: 1.562 kB / 457.1 MB, free: 20.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.595e-05/0.3065, allocations: 121.1 kB / 457.2 MB, free: 20.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3065, allocations: 0 / 457.2 MB, free: 20.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0015/0.308, allocations: 0.683 MB / 457.9 MB, free: 20.5 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.3102, allocations: 1.025 MB / 459 MB, free: 20.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.3105, allocations: 304.3 kB / 459.3 MB, free: 19.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3105, allocations: 0 / 459.3 MB, free: 19.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.3106, allocations: 143.4 kB / 459.4 MB, free: 19.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/0.3115, allocations: 171.5 kB / 459.6 MB, free: 19.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.3121, allocations: 491.8 kB / 460 MB, free: 19.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3123, allocations: 0.7368 MB / 460.8 MB, free: 18.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.99e-05/0.3124, allocations: 11.59 kB / 460.8 MB, free: 18.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.3125, allocations: 13.91 kB / 460.8 MB, free: 18.71 MB / 318.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3125, allocations: 0 / 460.8 MB, free: 18.71 MB / 318.1 MB Notification: Performance of Templates: time 0.02752/0.34, allocations: 24.07 MB / 484.9 MB, free: 12.21 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: