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.005303/0.005303, allocations: 104.2 kB / 15.74 MB, free: 6.488 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.001386/0.001386, allocations: 199.3 kB / 16.68 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.314/1.314, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04654/0.04654, allocations: 9.095 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.00141/0.00141, allocations: 74.55 kB / 387.5 MB, free: 8.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2317, allocations: 48.15 MB / 435.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.0177/0.2495, allocations: 16.89 MB / 452.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005645/0.2552, allocations: 5.8 MB / 458.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.2552, allocations: 0 / 458.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.2559, allocations: 273.8 kB / 458.6 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.791e-05/0.256, allocations: 17.69 kB / 458.6 MB, free: 6.426 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.01081/0.2668, allocations: 4.111 MB / 462.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.598e-05/0.2669, allocations: 53.23 kB / 462.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.267, allocations: 5.344 kB / 462.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.267, allocations: 34.14 kB / 462.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.669e-05/0.2671, allocations: 7.656 kB / 462.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.2671, allocations: 0 / 462.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.2778, allocations: 6.863 MB / 469.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.2778, allocations: 3.938 kB / 469.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.2779, allocations: 11.94 kB / 469.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00538/0.2833, allocations: 2.853 MB / 472.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2833, allocations: 0 / 472.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2833, allocations: 3.938 kB / 472.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2833, allocations: 0 / 472.5 MB, free: 11.87 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.0009313/0.2843, allocations: 0.6196 MB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2843, allocations: 12.03 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.2843, allocations: 3.938 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2845, allocations: 167 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-06/0.2845, allocations: 0 / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.2845, allocations: 4 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.2846, allocations: 37.7 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.2846, allocations: 0 / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.2846, allocations: 3.938 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2846, allocations: 7.984 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.2846, allocations: 15.98 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.2848, allocations: 169.5 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.2849, allocations: 34.52 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.2849, allocations: 12.89 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/0.3026, allocations: 9.944 MB / 483.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.3026, allocations: 38.5 kB / 483.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.736e-06/0.3026, allocations: 0 / 483.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002223/0.3029, allocations: 77.53 kB / 483.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.3029, allocations: 51.41 kB / 483.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.303, allocations: 97.89 kB / 483.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.303, allocations: 25.7 kB / 483.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.3031, allocations: 80.14 kB / 483.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.3031, allocations: 23.7 kB / 483.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.3032, allocations: 13.72 kB / 483.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3033, allocations: 318.8 kB / 484.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.3033, allocations: 8 kB / 484.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/0.3033, allocations: 15.94 kB / 484.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.3034, allocations: 40.98 kB / 484.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3034, allocations: 0 / 484.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.198e-05/0.3035, allocations: 61.62 kB / 484.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3035, allocations: 7.938 kB / 484.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3035, allocations: 4 kB / 484.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3035, allocations: 0 / 484.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.3035, allocations: 0 / 484.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3035, allocations: 0 / 484.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.3036, allocations: 3.938 kB / 484.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.3036, allocations: 0 / 484.4 MB, free: 14.05 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.717e-05/0.3037, allocations: 121.8 kB / 484.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.3037, allocations: 7.844 kB / 484.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.3038, allocations: 174.8 kB / 484.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.346e-05/0.3039, allocations: 184.2 kB / 484.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.817e-05/0.3039, allocations: 176.3 kB / 485 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/0.304, allocations: 180.2 kB / 485.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.3042, allocations: 413.2 kB / 485.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/0.3043, allocations: 105 kB / 485.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.3043, allocations: 108.9 kB / 485.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.758e-05/0.3044, allocations: 180.2 kB / 486 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.3044, allocations: 184.2 kB / 486.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.013e-05/0.3045, allocations: 188.2 kB / 486.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.599e-05/0.3046, allocations: 180.2 kB / 486.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.3047, allocations: 299.8 kB / 486.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.3048, allocations: 190 kB / 487 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.3048, allocations: 184.2 kB / 487.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.3049, allocations: 108.9 kB / 487.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.305, allocations: 176.3 kB / 487.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.305, allocations: 109 kB / 487.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.3051, allocations: 99.27 kB / 487.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3051, allocations: 3.938 kB / 487.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001417/0.3065, allocations: 0.6012 MB / 488.3 MB, free: 9.91 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.002307/0.3088, allocations: 1.03 MB / 489.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.291e-05/0.3089, allocations: 16 kB / 489.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3089, allocations: 4.062 kB / 489.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.3089, allocations: 0 / 489.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.3095, allocations: 496.1 kB / 489.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.3097, allocations: 207 kB / 490 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.31, allocations: 0.6729 MB / 490.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.241e-05/0.31, allocations: 7.984 kB / 490.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.31, allocations: 7.438 kB / 490.7 MB, free: 7.418 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.31, allocations: 0 / 490.7 MB, free: 7.418 MB / 366.1 MB Notification: Performance of Templates: time 0.02531/0.3353, allocations: 19.48 MB / 0.4982 GB, free: 3.922 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)