Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001821/0.001821, allocations: 182.2 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.05731/0.05731, allocations: 9.089 MB / 25.82 MB, free: 3.426 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.442/1.442, allocations: 205.1 MB / 233.2 MB, free: 14.17 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.001062/0.001062, allocations: 103.4 kB / 282.1 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009797/0.0009798, allocations: 55.92 kB / 341.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2217, allocations: 48.16 MB / 389.2 MB, free: 38.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01369/0.2354, allocations: 17.08 MB / 406.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006933/0.2424, allocations: 10.04 MB / 416.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.2424, allocations: 0 / 416.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006706/0.2431, allocations: 233.5 kB / 416.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.667e-05/0.2432, allocations: 19.84 kB / 416.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009776/0.253, allocations: 4.257 MB / 420.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.788e-05/0.2531, allocations: 51.67 kB / 420.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.2532, allocations: 0 / 420.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.2533, allocations: 19.88 kB / 420.9 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.197e-05/0.2533, allocations: 15.86 kB / 420.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.2533, allocations: 4 kB / 420.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.2641, allocations: 7.141 MB / 428.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.2642, allocations: 4 kB / 428.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.2642, allocations: 15.94 kB / 428.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007536/0.2718, allocations: 3.173 MB / 431.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2718, allocations: 0 / 431.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2718, allocations: 0 / 431.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2719, allocations: 0 / 431.3 MB, free: 12.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001362/0.2732, allocations: 0.698 MB / 432 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2733, allocations: 8.031 kB / 432 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.2733, allocations: 4 kB / 432 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2734, allocations: 174.8 kB / 432.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.2735, allocations: 0 / 432.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2735, allocations: 4 kB / 432.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.2736, allocations: 45.69 kB / 432.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2736, allocations: 0 / 432.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2736, allocations: 0 / 432.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2737, allocations: 0 / 432.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.2737, allocations: 12 kB / 432.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.2739, allocations: 165.6 kB / 432.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.053e-05/0.274, allocations: 30.55 kB / 432.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.274, allocations: 24.84 kB / 432.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02581/0.2998, allocations: 14.02 MB / 446.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.2999, allocations: 30.56 kB / 446.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.2999, allocations: 0 / 446.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002186/0.3001, allocations: 77.86 kB / 446.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.3002, allocations: 51.41 kB / 446.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.3003, allocations: 101.9 kB / 446.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3003, allocations: 29.7 kB / 446.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.3003, allocations: 80.14 kB / 446.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.3004, allocations: 15.66 kB / 446.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.3004, allocations: 21.7 kB / 446.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.3005, allocations: 314.8 kB / 447.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.3006, allocations: 12 kB / 447.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/0.3006, allocations: 15.97 kB / 447.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.3006, allocations: 40.95 kB / 447.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3006, allocations: 0 / 447.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.028e-05/0.3007, allocations: 69.61 kB / 447.3 MB, free: 9.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3008, allocations: 4 kB / 447.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3008, allocations: 0 / 447.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3008, allocations: 0 / 447.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.604e-06/0.3008, allocations: 7.922 kB / 447.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3008, allocations: 4 kB / 447.3 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.3008, allocations: 7.844 kB / 447.3 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3009, allocations: 0 / 447.3 MB, free: 9.688 MB / 330.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: 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 7.197e-05/0.3009, allocations: 109.9 kB / 447.4 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.301, allocations: 4 kB / 447.4 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.3011, allocations: 166.8 kB / 447.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-05/0.3012, allocations: 188.2 kB / 447.8 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-05/0.3013, allocations: 176.3 kB / 448 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.689e-05/0.3013, allocations: 192.1 kB / 448.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.3016, allocations: 405.2 kB / 448.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-05/0.3017, allocations: 113 kB / 448.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.3018, allocations: 104.9 kB / 448.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.765e-05/0.3018, allocations: 180.3 kB / 448.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/0.3019, allocations: 180.2 kB / 449.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.436e-05/0.302, allocations: 184.3 kB / 449.3 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.321e-05/0.3021, allocations: 176.3 kB / 449.5 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.3025, allocations: 0.8647 MB / 450.3 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.3026, allocations: 182.1 kB / 450.5 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/0.3027, allocations: 184.1 kB / 450.7 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.3028, allocations: 113 kB / 450.8 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.3029, allocations: 184.2 kB / 451 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.3029, allocations: 101.3 kB / 451.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.303, allocations: 99.27 kB / 451.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.303, allocations: 4 kB / 451.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002056/0.3051, allocations: 0.7495 MB / 451.9 MB, free: 4.812 MB / 330.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: 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.003685/0.3088, allocations: 1.26 MB / 453.2 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.3089, allocations: 16 kB / 453.2 MB, free: 3.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3089, allocations: 8.062 kB / 453.2 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.3089, allocations: 0 / 453.2 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.3095, allocations: 0.5458 MB / 453.7 MB, free: 2.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.3099, allocations: 216.5 kB / 454 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3102, allocations: 0.677 MB / 454.6 MB, free: 2.027 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.3102, allocations: 4 kB / 454.6 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.3103, allocations: 11.38 kB / 454.6 MB, free: 2.012 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3103, allocations: 4 kB / 454.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of Templates: time 0.03342/0.3437, allocations: 21.79 MB / 476.4 MB, free: 12.19 MB / 362.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1)