Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005578/0.005578, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001228/0.001229, allocations: 196.1 kB / 16.67 MB, free: 5.969 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.363/1.363, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0469/0.0469, allocations: 9.108 MB / 279 MB, free: 12.04 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.001386/0.001386, allocations: 70.56 kB / 387.4 MB, free: 8.039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2545, allocations: 48.16 MB / 435.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01949/0.274, allocations: 16.9 MB / 452.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.2802, allocations: 5.798 MB / 458.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.2803, allocations: 1.562 kB / 458.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007059/0.281, allocations: 264.9 kB / 458.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.2811, allocations: 26.12 kB / 458.6 MB, free: 6.199 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'. Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.2915, allocations: 4.104 MB / 462.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.045e-05/0.2916, allocations: 56.89 kB / 462.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.84e-05/0.2916, allocations: 2.312 kB / 462.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.2917, allocations: 30.36 kB / 462.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.817e-05/0.2917, allocations: 7.156 kB / 462.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-06/0.2917, allocations: 1.219 kB / 462.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.3027, allocations: 6.866 MB / 469.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3027, allocations: 0 / 469.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.3028, allocations: 19.94 kB / 469.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006579/0.3094, allocations: 2.853 MB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3094, allocations: 4 kB / 472.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3094, allocations: 0 / 472.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3095, allocations: 0 / 472.5 MB, free: 11.72 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.001029/0.3105, allocations: 0.6292 MB / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3105, allocations: 12.03 kB / 473.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.3106, allocations: 7.891 kB / 473.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3107, allocations: 159.1 kB / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3107, allocations: 0 / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.3107, allocations: 4 kB / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.454e-05/0.3108, allocations: 45.69 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.3108, allocations: 0 / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3109, allocations: 3.938 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3109, allocations: 4 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.3109, allocations: 11.94 kB / 473.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.3111, allocations: 161.7 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.3111, allocations: 34.56 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.3112, allocations: 12.89 kB / 473.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01709/0.3283, allocations: 9.956 MB / 483.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.3283, allocations: 42.5 kB / 483.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.3284, allocations: 3.938 kB / 483.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002036/0.3286, allocations: 77.86 kB / 483.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.3286, allocations: 55.39 kB / 483.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.3287, allocations: 93.86 kB / 483.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.3287, allocations: 25.7 kB / 483.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.3287, allocations: 80.14 kB / 483.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.3288, allocations: 27.75 kB / 484 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.3288, allocations: 17.7 kB / 484 MB, free: 14.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3289, allocations: 322.9 kB / 484.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.3289, allocations: 8 kB / 484.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.329, allocations: 23.95 kB / 484.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.53e-05/0.329, allocations: 36.8 kB / 484.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.329, allocations: 0 / 484.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.98e-05/0.3291, allocations: 53.69 kB / 484.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3291, allocations: 11.94 kB / 484.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3291, allocations: 3.984 kB / 484.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3291, allocations: 0 / 484.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3292, allocations: 0 / 484.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.3292, allocations: 4.062 kB / 484.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.3292, allocations: 0 / 484.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.3292, allocations: 0 / 484.4 MB, free: 13.87 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 7.2e-05/0.3293, allocations: 117.8 kB / 484.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.3293, allocations: 7.891 kB / 484.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.3294, allocations: 174.8 kB / 484.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/0.3295, allocations: 180.3 kB / 484.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-05/0.3295, allocations: 184.2 kB / 485.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.216e-05/0.3296, allocations: 176.3 kB / 485.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.3298, allocations: 413.2 kB / 485.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/0.3299, allocations: 108.9 kB / 485.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.3299, allocations: 101 kB / 485.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.108e-05/0.33, allocations: 192.1 kB / 486 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.33, allocations: 180.3 kB / 486.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-05/0.3301, allocations: 176.3 kB / 486.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.515e-05/0.3301, allocations: 180.2 kB / 486.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.3303, allocations: 311.7 kB / 486.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.3304, allocations: 190 kB / 487.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.3304, allocations: 176.3 kB / 487.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.3305, allocations: 112.8 kB / 487.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3306, allocations: 180.3 kB / 487.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.3306, allocations: 108.9 kB / 487.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.3307, allocations: 99.27 kB / 487.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3307, allocations: 7.938 kB / 487.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001418/0.3321, allocations: 0.6075 MB / 488.3 MB, free: 9.719 MB / 366.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.0023/0.3344, allocations: 1.044 MB / 489.4 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.3345, allocations: 19.94 kB / 489.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3345, allocations: 0 / 489.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.3345, allocations: 0 / 489.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.335, allocations: 491.5 kB / 489.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.3353, allocations: 203.3 kB / 490.1 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.3355, allocations: 0.6768 MB / 490.8 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.402e-05/0.3356, allocations: 8 kB / 490.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.3356, allocations: 15.31 kB / 490.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3356, allocations: 0 / 490.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of Templates: time 0.02502/0.3606, allocations: 19.48 MB / 0.4983 GB, free: 3.711 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1)