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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 100 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.001277/0.001277, allocations: 177.3 kB / 15.94 MB, free: 228 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.287/1.287, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04324/0.04324, allocations: 9.065 MB / 279.4 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.0004955/0.0004956, allocations: 12.22 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07643/0.07694, allocations: 49.19 MB / 388.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01564/0.09262, allocations: 14.07 MB / 402.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009116/0.1018, allocations: 8.426 MB / 410.8 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.1019, allocations: 0 / 410.8 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.1025, allocations: 235.2 kB / 411 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.1026, allocations: 23.95 kB / 411 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.1127, allocations: 4.143 MB / 415.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.1128, allocations: 27.95 kB / 415.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.1129, allocations: 4 kB / 415.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.113, allocations: 27.91 kB / 415.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.113, allocations: 15.92 kB / 415.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.113, allocations: 0 / 415.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01331/0.1264, allocations: 7.216 MB / 422.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1264, allocations: 0 / 422.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.1264, allocations: 29.7 kB / 422.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.1301, allocations: 1.778 MB / 424.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1301, allocations: 0 / 424.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1301, allocations: 0 / 424.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1301, allocations: 4 kB / 424.3 MB, free: 4.695 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.001288/0.1314, allocations: 0.6824 MB / 424.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1315, allocations: 8.031 kB / 425 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.1315, allocations: 0 / 425 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1316, allocations: 171 kB / 425.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1317, allocations: 8 kB / 425.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.1317, allocations: 3.938 kB / 425.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.1318, allocations: 37.7 kB / 425.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.1318, allocations: 0 / 425.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.1318, allocations: 0 / 425.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1318, allocations: 3.953 kB / 425.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.1318, allocations: 11.98 kB / 425.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.132, allocations: 161.7 kB / 425.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/0.1321, allocations: 34.58 kB / 425.4 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1679/0.3, allocations: 13.73 MB / 439.1 MB, free: 36.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3001, allocations: 35.28 kB / 439.1 MB, free: 36.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.3001, allocations: 0 / 439.1 MB, free: 36.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002152/0.3003, allocations: 156.1 kB / 439.3 MB, free: 36.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.3003, allocations: 55.66 kB / 439.4 MB, free: 36.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.3004, allocations: 96.05 kB / 439.4 MB, free: 36.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.3004, allocations: 26.52 kB / 439.5 MB, free: 36.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.578e-05/0.3004, allocations: 81.58 kB / 439.6 MB, free: 36.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3005, allocations: 20.84 kB / 439.6 MB, free: 36.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.3005, allocations: 2.906 kB / 439.6 MB, free: 36.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.3005, allocations: 319 kB / 439.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.3005, allocations: 11.48 kB / 439.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/0.3006, allocations: 11.75 kB / 439.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.3006, allocations: 13.98 kB / 439.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3006, allocations: 0 / 439.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.825e-05/0.3007, allocations: 65.11 kB / 440 MB, free: 35.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3007, allocations: 10.28 kB / 440 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3007, allocations: 0.6562 kB / 440 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3008, allocations: 0.75 kB / 440 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-06/0.3008, allocations: 4.938 kB / 440 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3008, allocations: 0.6562 kB / 440 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.3008, allocations: 5.641 kB / 440 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3008, allocations: 2 kB / 440 MB, free: 35.88 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.3009, allocations: 114.9 kB / 440.1 MB, free: 35.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.3009, allocations: 1.219 kB / 440.1 MB, free: 35.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.301, allocations: 171.3 kB / 440.3 MB, free: 35.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/0.3011, allocations: 184.5 kB / 440.5 MB, free: 35.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.788e-05/0.3011, allocations: 180.9 kB / 440.6 MB, free: 35.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/0.3011, allocations: 179.2 kB / 440.8 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3013, allocations: 420.1 kB / 441.2 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.3013, allocations: 106.3 kB / 441.3 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.3013, allocations: 114.2 kB / 441.4 MB, free: 34.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.373e-05/0.3014, allocations: 178.7 kB / 441.6 MB, free: 34.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.3014, allocations: 179.2 kB / 441.8 MB, free: 34.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.296e-05/0.3014, allocations: 183.4 kB / 442 MB, free: 33.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.397e-05/0.3014, allocations: 185.1 kB / 442.2 MB, free: 33.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.084e-05/0.3015, allocations: 309.6 kB / 442.5 MB, free: 33.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.3016, allocations: 192.2 kB / 442.6 MB, free: 33.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.3016, allocations: 183.5 kB / 442.8 MB, free: 32.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.3017, allocations: 106.4 kB / 442.9 MB, free: 32.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.3017, allocations: 180.7 kB / 443.1 MB, free: 32.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3017, allocations: 106.6 kB / 443.2 MB, free: 32.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.883e-05/0.3018, allocations: 103.6 kB / 443.3 MB, free: 32.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3018, allocations: 0 / 443.3 MB, free: 32.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001818/0.3036, allocations: 0.7443 MB / 444.1 MB, free: 32.47 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: 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 (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.003378/0.307, allocations: 1.26 MB / 445.3 MB, free: 32.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.518e-05/0.3071, allocations: 17.88 kB / 445.3 MB, free: 32.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3071, allocations: 0 / 445.3 MB, free: 32.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.3071, allocations: 0.5625 kB / 445.3 MB, free: 32.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.3074, allocations: 0.5405 MB / 445.9 MB, free: 31.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.3077, allocations: 212.6 kB / 446.1 MB, free: 31.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.144e-05/0.3078, allocations: 0.6783 MB / 446.8 MB, free: 30.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.54e-05/0.3078, allocations: 1.156 kB / 446.8 MB, free: 30.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.3078, allocations: 10.62 kB / 446.8 MB, free: 30.74 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3078, allocations: 4 kB / 446.8 MB, free: 30.74 MB / 318.1 MB Notification: Performance of Templates: time 0.02776/0.3356, allocations: 21.29 MB / 468.1 MB, free: 14.84 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: