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.0008107/0.0008106, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007996/0.0007997, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04263/0.04263, allocations: 9.064 MB / 279.5 MB, free: 12.13 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.0004875/0.0004876, allocations: 12 kB / 339.1 MB, free: 25.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0702/0.0707, allocations: 49.2 MB / 388.3 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01582/0.08655, allocations: 15.94 MB / 404.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.099, allocations: 14.51 MB / 418.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.09911, allocations: 0 / 418.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.0999, allocations: 314.6 kB / 419.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.1022, allocations: 1.114 MB / 420.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008135/0.1104, allocations: 3.411 MB / 423.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1106, allocations: 143.2 kB / 423.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.1106, allocations: 9.125 kB / 423.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1108, allocations: 59.67 kB / 423.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.1108, allocations: 47.78 kB / 423.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.1109, allocations: 4 kB / 423.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1577/0.2685, allocations: 7.178 MB / 431 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.2686, allocations: 13.86 kB / 431.1 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/0.2687, allocations: 49.14 kB / 431.1 MB, free: 19.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00402/0.2727, allocations: 1.951 MB / 433.1 MB, free: 19.74 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2727, allocations: 0 / 433.1 MB, free: 19.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2727, allocations: 0.8906 kB / 433.1 MB, free: 19.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2728, allocations: 2.594 kB / 433.1 MB, free: 19.74 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.002017/0.2748, allocations: 0.7751 MB / 433.8 MB, free: 19.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2748, allocations: 9.406 kB / 433.8 MB, free: 19.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003815/0.2752, allocations: 60.09 kB / 433.9 MB, free: 19.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.2753, allocations: 175.5 kB / 434.1 MB, free: 18.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2753, allocations: 9.406 kB / 434.1 MB, free: 18.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.2754, allocations: 8.109 kB / 434.1 MB, free: 18.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.2757, allocations: 255.4 kB / 434.3 MB, free: 18.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2757, allocations: 0 / 434.3 MB, free: 18.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2757, allocations: 3.031 kB / 434.3 MB, free: 18.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.2758, allocations: 8.422 kB / 434.3 MB, free: 18.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.2763, allocations: 452.2 kB / 434.8 MB, free: 18.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.2765, allocations: 329.7 kB / 435.1 MB, free: 18.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.2768, allocations: 281.8 kB / 435.4 MB, free: 18.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.2771, allocations: 245.9 kB / 435.6 MB, free: 18.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/0.2892, allocations: 9.808 MB / 445.4 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2893, allocations: 35.69 kB / 445.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.324e-06/0.2893, allocations: 0 / 445.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009363/0.2902, allocations: 0.6624 MB / 446.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.2903, allocations: 61.77 kB / 446.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.2903, allocations: 100.4 kB / 446.3 MB, free: 9.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2903, allocations: 25.7 kB / 446.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/0.2904, allocations: 82.17 kB / 446.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/0.2904, allocations: 134.1 kB / 446.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.2905, allocations: 5.25 kB / 446.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.2905, allocations: 321.3 kB / 446.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.2907, allocations: 188.2 kB / 447 MB, free: 9.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.2909, allocations: 188.8 kB / 447.2 MB, free: 9.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.2911, allocations: 216.2 kB / 447.4 MB, free: 9.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2911, allocations: 0 / 447.4 MB, free: 9.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004998/0.2916, allocations: 493.8 kB / 447.9 MB, free: 9.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2917, allocations: 7.188 kB / 447.9 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2917, allocations: 2.188 kB / 447.9 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2917, allocations: 1.125 kB / 447.9 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2919, allocations: 32.59 kB / 447.9 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2919, allocations: 1.406 kB / 448 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/0.292, allocations: 20.64 kB / 448 MB, free: 9.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.292, allocations: 12.12 kB / 448 MB, free: 9.031 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/0.2921, allocations: 118.3 kB / 448.1 MB, free: 8.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.2921, allocations: 8.531 kB / 448.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/0.2929, allocations: 0.6827 MB / 448.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2929, allocations: 1.406 kB / 448.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2929, allocations: 4.625 kB / 448.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2929, allocations: 0 / 448.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009147/0.2938, allocations: 0.9113 MB / 449.7 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.2938, allocations: 7.484 kB / 449.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.2939, allocations: 32.23 kB / 449.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.294, allocations: 4.094 kB / 449.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.294, allocations: 7.719 kB / 449.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.294, allocations: 7.625 kB / 449.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.294, allocations: 2.344 kB / 449.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.2943, allocations: 370.5 kB / 450.1 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.2944, allocations: 135.2 kB / 450.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.2944, allocations: 3.906 kB / 450.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2946, allocations: 7.219 kB / 450.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.2946, allocations: 20.58 kB / 450.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2946, allocations: 9.859 kB / 450.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.2948, allocations: 172.5 kB / 450.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2948, allocations: 0 / 450.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003252/0.298, allocations: 0.7462 MB / 451.2 MB, free: 7.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00328/0.3013, allocations: 1.209 MB / 452.4 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.3018, allocations: 344.1 kB / 452.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.3018, allocations: 2.562 kB / 452.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3019, allocations: 93.11 kB / 452.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.3024, allocations: 44.17 kB / 452.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.303, allocations: 489.5 kB / 453.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.3032, allocations: 0.7027 MB / 454.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.3035, allocations: 286.7 kB / 454.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.3035, allocations: 28.19 kB / 454.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3035, allocations: 0 / 454.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of Templates: time 0.02949/0.333, allocations: 24.85 MB / 479.2 MB, free: 4.152 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: