Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_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_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.367/1.367, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04624/0.04624, allocations: 9.081 MB / 278.8 MB, free: 12.17 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.001474/0.001474, allocations: 59.91 kB / 338 MB, free: 25.45 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07381/0.0753, allocations: 48.17 MB / 386.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.0212/0.09654, allocations: 17.26 MB / 403.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.1124, allocations: 15.53 MB / 419 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.1125, allocations: 0 / 419 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009791/0.1136, allocations: 387.4 kB / 419.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.1163, allocations: 1.278 MB / 420.6 MB, free: 6.648 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'. Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.1267, allocations: 4.411 MB / 425.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1269, allocations: 147.2 kB / 425.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.127, allocations: 17.02 kB / 425.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1271, allocations: 63.72 kB / 425.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.1272, allocations: 51.67 kB / 425.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1272, allocations: 0 / 425.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.149/0.2762, allocations: 8.377 MB / 433.7 MB, free: 18.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.2762, allocations: 13.03 kB / 433.7 MB, free: 18.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.2763, allocations: 53.61 kB / 433.8 MB, free: 18.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006724/0.2831, allocations: 3.503 MB / 437.3 MB, free: 18.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2831, allocations: 8.625 kB / 437.3 MB, free: 18.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2831, allocations: 0 / 437.3 MB, free: 18.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2831, allocations: 0.9375 kB / 437.3 MB, free: 18.18 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001705/0.2848, allocations: 0.7811 MB / 438.1 MB, free: 17.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2849, allocations: 9.312 kB / 438.1 MB, free: 17.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.2853, allocations: 58.77 kB / 438.1 MB, free: 17.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.309e-05/0.2854, allocations: 182.3 kB / 438.3 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2854, allocations: 2.594 kB / 438.3 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.2855, allocations: 11.12 kB / 438.3 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.2858, allocations: 255.5 kB / 438.6 MB, free: 17.37 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2859, allocations: 0 / 438.6 MB, free: 17.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2859, allocations: 9.125 kB / 438.6 MB, free: 17.37 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2859, allocations: 1.781 kB / 438.6 MB, free: 17.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.2864, allocations: 459 kB / 439 MB, free: 17.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.2867, allocations: 332.5 kB / 439.4 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.287, allocations: 273.1 kB / 439.6 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.2872, allocations: 249.3 kB / 439.9 MB, free: 17.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0139/0.3011, allocations: 10.02 MB / 449.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.3011, allocations: 33.81 kB / 449.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.953e-06/0.3011, allocations: 0 / 449.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0007911/0.3019, allocations: 0.6729 MB / 450.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.302, allocations: 55.66 kB / 450.6 MB, free: 8.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.499e-05/0.302, allocations: 103.8 kB / 450.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3021, allocations: 29.95 kB / 450.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.211e-05/0.3021, allocations: 80.8 kB / 450.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.3022, allocations: 127.9 kB / 451 MB, free: 7.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.3022, allocations: 44.14 kB / 451 MB, free: 7.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.3023, allocations: 328.3 kB / 451.3 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.3025, allocations: 185.1 kB / 451.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.3027, allocations: 188.9 kB / 451.7 MB, free: 7.566 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.3032, allocations: 450.1 kB / 452.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3032, allocations: 3.891 kB / 452.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005064/0.3037, allocations: 497.8 kB / 452.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3037, allocations: 5.25 kB / 452.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3037, allocations: 0 / 452.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3038, allocations: 0 / 452.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.3039, allocations: 24.78 kB / 452.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3039, allocations: 1.781 kB / 452.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.974e-05/0.304, allocations: 31 kB / 452.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.304, allocations: 7.75 kB / 452.7 MB, free: 7.418 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 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.793e-05/0.3041, allocations: 124.3 kB / 452.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.3041, allocations: 9.25 kB / 452.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006917/0.3048, allocations: 0.672 MB / 453.5 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3049, allocations: 1.375 kB / 453.5 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3049, allocations: 4 kB / 453.5 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3049, allocations: 6.5 kB / 453.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009487/0.3058, allocations: 0.9093 MB / 454.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3058, allocations: 2.5 kB / 454.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.306, allocations: 35.69 kB / 454.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.306, allocations: 2.344 kB / 454.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.306, allocations: 8.5 kB / 454.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.306, allocations: 7.453 kB / 454.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.306, allocations: 6.625 kB / 454.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.3064, allocations: 375.7 kB / 454.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.3065, allocations: 83.7 kB / 454.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3065, allocations: 20.84 kB / 455 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3066, allocations: 7.547 kB / 455 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.3067, allocations: 22.95 kB / 455 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3067, allocations: 3.375 kB / 455 MB, free: 6.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.3068, allocations: 180 kB / 455.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3068, allocations: 3 kB / 455.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002132/0.309, allocations: 0.7386 MB / 455.9 MB, free: 5.961 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (12): * Single equations (assignments): 12 * 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.003291/0.3123, allocations: 1.224 MB / 457.1 MB, free: 5.574 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.3127, allocations: 340.8 kB / 457.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3127, allocations: 0 / 457.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.3128, allocations: 97.06 kB / 457.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.3134, allocations: 84.84 kB / 457.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.314, allocations: 413.7 kB / 458 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.3141, allocations: 0.7114 MB / 458.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003163/0.3144, allocations: 288.9 kB / 459 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.3145, allocations: 25.67 kB / 459.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3145, allocations: 0 / 459.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of Templates: time 0.03443/0.349, allocations: 25.98 MB / 485 MB, free: 13 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1)