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.001083/0.001084, allocations: 119.3 kB / 16.37 MB, free: 6.016 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.001069/0.001069, allocations: 193 kB / 17.31 MB, free: 5.613 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.314/1.314, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04926/0.04926, allocations: 9.092 MB / 279.6 MB, free: 2.98 MB / 222.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.001493/0.001493, allocations: 71.89 kB / 339.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1941, allocations: 48.14 MB / 387.6 MB, free: 51.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01487/0.209, allocations: 16.84 MB / 404.5 MB, free: 39.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.2159, allocations: 9.736 MB / 414.2 MB, free: 31.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.2159, allocations: 1.406 kB / 414.2 MB, free: 31.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.2166, allocations: 262.6 kB / 414.5 MB, free: 31.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.957e-05/0.2166, allocations: 22.11 kB / 414.5 MB, free: 31.26 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.2271, allocations: 5.082 MB / 419.6 MB, free: 27.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.2272, allocations: 47.72 kB / 419.6 MB, free: 27.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.2273, allocations: 11.98 kB / 419.6 MB, free: 27.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.948e-05/0.2273, allocations: 23.8 kB / 419.7 MB, free: 27.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.998e-05/0.2274, allocations: 15.94 kB / 419.7 MB, free: 27.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.2274, allocations: 4 kB / 419.7 MB, free: 27.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009662/0.2371, allocations: 7.841 MB / 427.5 MB, free: 19.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.2371, allocations: 7.922 kB / 427.5 MB, free: 19.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.2371, allocations: 15.94 kB / 427.5 MB, free: 19.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005345/0.2425, allocations: 3.294 MB / 430.8 MB, free: 16.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2425, allocations: 8 kB / 430.8 MB, free: 16.37 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2425, allocations: 0 / 430.8 MB, free: 16.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2425, allocations: 0 / 430.8 MB, free: 16.37 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.0008667/0.2434, allocations: 0.6909 MB / 431.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2434, allocations: 8.031 kB / 431.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.2435, allocations: 7.906 kB / 431.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.326e-05/0.2435, allocations: 163 kB / 431.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.2436, allocations: 0 / 431.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.2436, allocations: 0 / 431.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.041e-05/0.2437, allocations: 49.62 kB / 431.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.2437, allocations: 0 / 431.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.2437, allocations: 0 / 431.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2437, allocations: 0 / 431.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.2437, allocations: 17.06 kB / 431.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.2438, allocations: 165.5 kB / 431.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.027e-05/0.2439, allocations: 30.56 kB / 432 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.2439, allocations: 24.83 kB / 432 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02219/0.2661, allocations: 14.02 MB / 446 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.2662, allocations: 30.56 kB / 446 MB, free: 14.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 3.687e-06/0.2662, allocations: 0 / 446 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001904/0.2664, allocations: 77.62 kB / 446.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.2664, allocations: 55.39 kB / 446.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.2665, allocations: 89.86 kB / 446.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2665, allocations: 29.86 kB / 446.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.2666, allocations: 88.08 kB / 446.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.2666, allocations: 23.64 kB / 446.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.2666, allocations: 17.7 kB / 446.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2668, allocations: 318.8 kB / 446.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.2668, allocations: 15.94 kB / 446.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.2668, allocations: 11.98 kB / 446.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.2669, allocations: 32.86 kB / 446.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.2669, allocations: 8.016 kB / 446.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.777e-05/0.267, allocations: 56.83 kB / 446.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.267, allocations: 7.984 kB / 446.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.267, allocations: 0 / 446.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.267, allocations: 0 / 446.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.267, allocations: 0 / 446.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.267, allocations: 7.984 kB / 446.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.2671, allocations: 7.844 kB / 446.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2671, allocations: 0 / 446.9 MB, free: 13.73 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 6.968e-05/0.2672, allocations: 117.8 kB / 447 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.2672, allocations: 4 kB / 447 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.2673, allocations: 166.8 kB / 447.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.179e-05/0.2674, allocations: 180.3 kB / 447.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.304e-05/0.2675, allocations: 180.2 kB / 447.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-05/0.2675, allocations: 184.2 kB / 447.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.2678, allocations: 413.2 kB / 448.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.982e-05/0.2678, allocations: 109 kB / 448.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.2678, allocations: 101 kB / 448.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.078e-05/0.2679, allocations: 184.2 kB / 448.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.268, allocations: 176.3 kB / 448.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.552e-05/0.268, allocations: 184.2 kB / 448.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.287e-05/0.2681, allocations: 188.2 kB / 449 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.2682, allocations: 311.6 kB / 449.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.2683, allocations: 178.1 kB / 449.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.2684, allocations: 188.2 kB / 449.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.2685, allocations: 106.5 kB / 449.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.2686, allocations: 180.2 kB / 449.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.2686, allocations: 108.9 kB / 450 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.296e-05/0.2687, allocations: 103.2 kB / 450.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2687, allocations: 0 / 450.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001692/0.2704, allocations: 0.7456 MB / 450.9 MB, free: 9.453 MB / 334.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.002769/0.2732, allocations: 1.262 MB / 452.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.273e-05/0.2732, allocations: 16 kB / 452.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2733, allocations: 0 / 452.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.2733, allocations: 4.062 kB / 452.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.2738, allocations: 484.5 kB / 452.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.2741, allocations: 210.9 kB / 452.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2743, allocations: 0.6806 MB / 453.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2e-05/0.2743, allocations: 4.25 kB / 453.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.2743, allocations: 11.44 kB / 453.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2743, allocations: 288 / 453.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of Templates: time 0.02844/0.3028, allocations: 21.78 MB / 475.3 MB, free: 0.9766 MB / 350.1 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 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1)