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.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001276/0.001276, allocations: 197 kB / 16.14 MB, free: 6.703 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.266/1.266, allocations: 205.1 MB / 222 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04127/0.04127, allocations: 9.079 MB / 278.4 MB, free: 12.64 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.001801/0.001801, allocations: 63.91 kB / 337.3 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0716/0.07341, allocations: 48.17 MB / 385.5 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01743/0.09088, allocations: 17.5 MB / 403 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.1047, allocations: 15.77 MB / 418.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.1048, allocations: 4 kB / 418.8 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009124/0.1058, allocations: 339.7 kB / 419.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.1083, allocations: 1.134 MB / 420.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009433/0.1178, allocations: 3.671 MB / 423.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.118, allocations: 143.2 kB / 424.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.118, allocations: 17.06 kB / 424.1 MB, free: 3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1182, allocations: 55.73 kB / 424.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.1182, allocations: 55.66 kB / 424.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1183, allocations: 4 kB / 424.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1463/0.2646, allocations: 7.97 MB / 432.2 MB, free: 18.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.2646, allocations: 14.95 kB / 432.2 MB, free: 18.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.2647, allocations: 50.88 kB / 432.2 MB, free: 18.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007137/0.2719, allocations: 3.374 MB / 435.6 MB, free: 18.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2719, allocations: 1.375 kB / 435.6 MB, free: 18.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2719, allocations: 0 / 435.6 MB, free: 18.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.2719, allocations: 0.6562 kB / 435.6 MB, free: 18.21 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.001413/0.2734, allocations: 0.7881 MB / 436.4 MB, free: 17.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2734, allocations: 10.22 kB / 436.4 MB, free: 17.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.2738, allocations: 60.38 kB / 436.5 MB, free: 17.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.2739, allocations: 173.7 kB / 436.6 MB, free: 17.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2739, allocations: 6.094 kB / 436.6 MB, free: 17.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.2739, allocations: 8.25 kB / 436.6 MB, free: 17.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.2743, allocations: 257.9 kB / 436.9 MB, free: 17.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2743, allocations: 0 / 436.9 MB, free: 17.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2743, allocations: 7.062 kB / 436.9 MB, free: 17.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2743, allocations: 7.031 kB / 436.9 MB, free: 17.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.2748, allocations: 449.6 kB / 437.3 MB, free: 17.4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.275, allocations: 327.5 kB / 437.7 MB, free: 17.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.2754, allocations: 276.5 kB / 437.9 MB, free: 17.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.2756, allocations: 250.4 kB / 438.2 MB, free: 17.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01399/0.2896, allocations: 10.02 MB / 448.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2897, allocations: 35.39 kB / 448.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.515e-06/0.2897, allocations: 0 / 448.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008197/0.2905, allocations: 0.676 MB / 448.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.2906, allocations: 54.97 kB / 449 MB, free: 8.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.409e-05/0.2906, allocations: 95.91 kB / 449.1 MB, free: 8.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2906, allocations: 37.27 kB / 449.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.382e-05/0.2907, allocations: 83.5 kB / 449.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.2907, allocations: 126.6 kB / 449.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.2908, allocations: 47.84 kB / 449.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.2908, allocations: 329.6 kB / 449.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.291, allocations: 188 kB / 449.8 MB, free: 7.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2912, allocations: 184.7 kB / 450 MB, free: 7.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.2916, allocations: 454.6 kB / 450.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2916, allocations: 2.719 kB / 450.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000478/0.2921, allocations: 493 kB / 451 MB, free: 7.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2921, allocations: 4.656 kB / 451 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2921, allocations: 0 / 451 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2921, allocations: 2.438 kB / 451 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.2923, allocations: 29.77 kB / 451 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2923, allocations: 2.438 kB / 451 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.946e-05/0.2924, allocations: 24.97 kB / 451 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.2924, allocations: 13.61 kB / 451 MB, free: 7.477 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.576e-05/0.2925, allocations: 114.7 kB / 451.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.2925, allocations: 7.844 kB / 451.2 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/0.2932, allocations: 0.6692 MB / 451.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2932, allocations: 1.312 kB / 451.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2932, allocations: 5.344 kB / 451.8 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2932, allocations: 5.203 kB / 451.8 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000828/0.294, allocations: 0.9137 MB / 452.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2941, allocations: 6.062 kB / 452.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2942, allocations: 30.2 kB / 452.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2942, allocations: 5.094 kB / 452.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2942, allocations: 9.125 kB / 452.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2942, allocations: 2.656 kB / 452.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2942, allocations: 7.516 kB / 452.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.2946, allocations: 374.2 kB / 453.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.2946, allocations: 93.95 kB / 453.3 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.2947, allocations: 17.66 kB / 453.3 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.2948, allocations: 3.812 kB / 453.3 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.2948, allocations: 31.39 kB / 453.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.2949, allocations: 7.594 kB / 453.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.295, allocations: 172.6 kB / 453.5 MB, free: 6.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.295, allocations: 0 / 453.5 MB, free: 6.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002194/0.2972, allocations: 0.7429 MB / 454.2 MB, free: 6.121 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.002924/0.3001, allocations: 1.216 MB / 455.5 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.3006, allocations: 339.4 kB / 455.8 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3006, allocations: 0 / 455.8 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3007, allocations: 92.83 kB / 455.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.3014, allocations: 82.59 kB / 456 MB, free: 5.797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.3019, allocations: 450.3 kB / 456.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.724e-05/0.302, allocations: 0.7096 MB / 457.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.3023, allocations: 282.5 kB / 457.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.3024, allocations: 24.14 kB / 457.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3024, allocations: 0 / 457.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of Templates: time 0.02969/0.3321, allocations: 25.86 MB / 483.3 MB, free: 14.25 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)