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.004132/0.004132, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001021/0.001021, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.233/1.233, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04255/0.04255, allocations: 9.091 MB / 279 MB, free: 12.07 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.001266/0.001266, allocations: 59.91 kB / 387.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.214, allocations: 48.15 MB / 435.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01646/0.2305, allocations: 16.84 MB / 452.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008623/0.2392, allocations: 9.749 MB / 462.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.2392, allocations: 4 kB / 462.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006012/0.2399, allocations: 289.5 kB / 462.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.619e-05/0.2399, allocations: 22.16 kB / 462.5 MB, free: 2.984 MB / 334.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.01145/0.2514, allocations: 5.324 MB / 467.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.2515, allocations: 50.11 kB / 467.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.2515, allocations: 10.41 kB / 467.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.2516, allocations: 25.89 kB / 467.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.301e-05/0.2517, allocations: 13.89 kB / 467.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.2517, allocations: 1.219 kB / 467.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/0.2631, allocations: 7.843 MB / 475.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.2631, allocations: 4 kB / 475.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.2632, allocations: 15.94 kB / 475.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007077/0.2703, allocations: 3.298 MB / 479.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2703, allocations: 4 kB / 479.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2703, allocations: 3.938 kB / 479.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2703, allocations: 0 / 479.1 MB, free: 5.164 MB / 350.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.001266/0.2716, allocations: 0.698 MB / 479.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2716, allocations: 8.031 kB / 479.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.2717, allocations: 0 / 479.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2718, allocations: 182.8 kB / 480 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.2718, allocations: 3.938 kB / 480 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.2718, allocations: 4 kB / 480 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.928e-05/0.2719, allocations: 41.69 kB / 480 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.2719, allocations: 0 / 480 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2719, allocations: 0 / 480 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.272, allocations: 0 / 480 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.272, allocations: 12 kB / 480 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.2721, allocations: 165.6 kB / 480.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.2722, allocations: 38.5 kB / 480.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.2722, allocations: 20.89 kB / 480.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02331/0.2955, allocations: 14 MB / 494.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2956, allocations: 30.56 kB / 494.3 MB, free: 3.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2956, allocations: 0 / 494.3 MB, free: 3.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001584/0.2958, allocations: 73.67 kB / 494.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.2958, allocations: 55.41 kB / 494.4 MB, free: 3.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.2959, allocations: 93.86 kB / 494.5 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2959, allocations: 29.64 kB / 494.5 MB, free: 3.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.2959, allocations: 84.14 kB / 494.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.2959, allocations: 23.64 kB / 494.6 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.296, allocations: 13.72 kB / 494.6 MB, free: 3.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.2961, allocations: 318.9 kB / 495 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.2961, allocations: 19.98 kB / 495 MB, free: 2.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.2961, allocations: 8 kB / 495 MB, free: 2.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.2962, allocations: 32.84 kB / 495 MB, free: 2.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2962, allocations: 0 / 495 MB, free: 2.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.551e-05/0.2963, allocations: 65.67 kB / 495.1 MB, free: 2.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2963, allocations: 4 kB / 495.1 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2963, allocations: 0 / 495.1 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2963, allocations: 3.938 kB / 495.1 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-06/0.2963, allocations: 3.938 kB / 495.1 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2963, allocations: 0 / 495.1 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.2964, allocations: 15.91 kB / 495.1 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.2964, allocations: 0 / 495.1 MB, free: 2.527 MB / 366.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 5.909e-05/0.2964, allocations: 109.8 kB / 495.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.2965, allocations: 4 kB / 495.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.2966, allocations: 170.8 kB / 495.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-05/0.2967, allocations: 192.2 kB / 495.6 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.811e-05/0.2967, allocations: 180.3 kB / 495.7 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.221e-05/0.2968, allocations: 180.2 kB / 495.9 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.297, allocations: 413.1 kB / 496.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/0.297, allocations: 101 kB / 496.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.297, allocations: 108.9 kB / 496.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.166e-05/0.2971, allocations: 176.3 kB / 496.7 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.2972, allocations: 180.3 kB / 496.9 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.753e-05/0.2972, allocations: 188.2 kB / 497.1 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.237e-05/0.2973, allocations: 180.6 kB / 497.2 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.2974, allocations: 307.6 kB / 497.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.2975, allocations: 190.1 kB / 497.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.2976, allocations: 192.1 kB / 497.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.2976, allocations: 101 kB / 498 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.2977, allocations: 180.2 kB / 498.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.2977, allocations: 108.9 kB / 498.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.2978, allocations: 103.3 kB / 498.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2978, allocations: 4 kB / 498.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001424/0.2992, allocations: 0.7418 MB / 499.1 MB, free: 14.24 MB / 382.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.003154/0.3024, allocations: 1.264 MB / 0.4887 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.318e-05/0.3025, allocations: 16 kB / 0.4887 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3025, allocations: 0 / 0.4887 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.3025, allocations: 0 / 0.4887 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.3031, allocations: 495.9 kB / 0.4892 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.3034, allocations: 199 kB / 0.4894 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.3037, allocations: 0.6805 MB / 0.49 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.878e-05/0.3037, allocations: 4 kB / 0.49 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.3037, allocations: 11.44 kB / 0.49 GB, free: 11.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3037, allocations: 4 kB / 0.49 GB, free: 11.52 MB / 382.1 MB Notification: Performance of Templates: time 0.02887/0.3326, allocations: 21.77 MB / 0.5113 GB, free: 5.73 MB / 398.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1)