Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007655/0.0007656, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004799/0.004799, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.332/1.332, allocations: 205.4 MB / 222.4 MB, free: 5.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04364/0.04364, allocations: 9.071 MB / 279.8 MB, free: 12.37 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.0005116/0.0005116, allocations: 16.22 kB / 339.7 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07786/0.07839, allocations: 49.19 MB / 388.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01752/0.09595, allocations: 16.63 MB / 405.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1062, allocations: 10.65 MB / 416.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.1063, allocations: 0 / 416.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.1069, allocations: 243.6 kB / 416.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.1069, allocations: 23.91 kB / 416.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01167/0.1186, allocations: 4.782 MB / 421.3 MB, free: 8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.757e-05/0.1187, allocations: 51.73 kB / 421.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.1188, allocations: 4 kB / 421.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.1189, allocations: 27.81 kB / 421.3 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.434e-05/0.1189, allocations: 7.984 kB / 421.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.1189, allocations: 0 / 421.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1689/0.2878, allocations: 7.989 MB / 429.3 MB, free: 21.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.2879, allocations: 5.609 kB / 429.3 MB, free: 21.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.2879, allocations: 43.19 kB / 429.4 MB, free: 20.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009904/0.2978, allocations: 3.49 MB / 432.9 MB, free: 20.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2979, allocations: 0 / 432.9 MB, free: 20.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2979, allocations: 0 / 432.9 MB, free: 20.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2979, allocations: 2.125 kB / 432.9 MB, free: 20.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002277/0.3002, allocations: 0.7424 MB / 433.6 MB, free: 20.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3002, allocations: 10.22 kB / 433.6 MB, free: 20.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.3003, allocations: 3.641 kB / 433.6 MB, free: 20.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.3004, allocations: 166.2 kB / 433.8 MB, free: 20.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3004, allocations: 0 / 433.8 MB, free: 20.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.3004, allocations: 4.734 kB / 433.8 MB, free: 20.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.3005, allocations: 45.47 kB / 433.8 MB, free: 20.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3005, allocations: 2.031 kB / 433.8 MB, free: 20.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3005, allocations: 0 / 433.8 MB, free: 20.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3005, allocations: 3.922 kB / 433.8 MB, free: 20.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.402e-05/0.3006, allocations: 15.69 kB / 433.9 MB, free: 20.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.3007, allocations: 169.3 kB / 434 MB, free: 19.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.3008, allocations: 35.22 kB / 434.1 MB, free: 19.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.3008, allocations: 25.58 kB / 434.1 MB, free: 19.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05248/0.3533, allocations: 32.39 MB / 466.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3534, allocations: 36.19 kB / 466.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/0.3534, allocations: 0 / 466.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002126/0.3536, allocations: 79.62 kB / 466.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.3536, allocations: 53.8 kB / 466.6 MB, free: 6.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.195e-05/0.3537, allocations: 98.7 kB / 466.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.3537, allocations: 25.7 kB / 466.8 MB, free: 6.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.3538, allocations: 80.14 kB / 466.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.3538, allocations: 18.78 kB / 466.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.3538, allocations: 18.11 kB / 466.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.354, allocations: 318.8 kB / 467.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.354, allocations: 11.36 kB / 467.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.354, allocations: 13.5 kB / 467.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/0.3541, allocations: 41.25 kB / 467.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3541, allocations: 0 / 467.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.287e-05/0.3542, allocations: 60.45 kB / 467.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3542, allocations: 6.938 kB / 467.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3542, allocations: 0 / 467.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3542, allocations: 2.781 kB / 467.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3542, allocations: 6.812 kB / 467.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3542, allocations: 2.438 kB / 467.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.3543, allocations: 7.844 kB / 467.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3543, allocations: 2.812 kB / 467.3 MB, free: 5.723 MB / 334.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0002357/0.3545, allocations: 115.8 kB / 467.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.3545, allocations: 2.594 kB / 467.5 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.3547, allocations: 169 kB / 467.6 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/0.3547, allocations: 183.8 kB / 467.8 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-05/0.3548, allocations: 177.8 kB / 468 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-05/0.3549, allocations: 179.2 kB / 468.1 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3551, allocations: 411 kB / 468.5 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-05/0.3551, allocations: 112.2 kB / 468.7 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.3552, allocations: 108 kB / 468.8 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.167e-05/0.3552, allocations: 181.2 kB / 468.9 MB, free: 20.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.3553, allocations: 185 kB / 469.1 MB, free: 19.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.108e-05/0.3554, allocations: 180.5 kB / 469.3 MB, free: 19.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.458e-05/0.3554, allocations: 180.8 kB / 469.5 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.3556, allocations: 317.6 kB / 469.8 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.3556, allocations: 190.2 kB / 470 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.3557, allocations: 180.7 kB / 470.1 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.3558, allocations: 103.1 kB / 470.2 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.3559, allocations: 183 kB / 470.4 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.3559, allocations: 108.9 kB / 470.5 MB, free: 18.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.682e-05/0.356, allocations: 106.8 kB / 470.6 MB, free: 18.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.356, allocations: 0 / 470.6 MB, free: 18.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003245/0.3593, allocations: 0.8622 MB / 471.5 MB, free: 18.18 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.005663/0.3649, allocations: 1.411 MB / 472.9 MB, free: 17.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.664e-05/0.3651, allocations: 21.66 kB / 472.9 MB, free: 17.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3651, allocations: 0 / 472.9 MB, free: 17.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.3651, allocations: 0 / 472.9 MB, free: 17.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.3657, allocations: 0.5546 MB / 473.5 MB, free: 17.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.366, allocations: 221 kB / 473.7 MB, free: 17.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.3662, allocations: 0.6805 MB / 474.4 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.099e-05/0.3662, allocations: 0 / 474.4 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.3662, allocations: 14.78 kB / 474.4 MB, free: 16.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3662, allocations: 0 / 474.4 MB, free: 16.34 MB / 350.1 MB Notification: Performance of Templates: time 0.03051/0.3968, allocations: 23.41 MB / 497.8 MB, free: 13.04 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) Environment - environmentSimulation: