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.0009644/0.0009644, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.000901/0.0009011, allocations: 177.3 kB / 15.94 MB, free: 228 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.288/1.288, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04328/0.04328, allocations: 9.056 MB / 279.4 MB, free: 12.14 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.0004891/0.0004891, allocations: 12.22 kB / 339.1 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06985/0.07035, allocations: 49.19 MB / 388.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01437/0.08476, allocations: 14.42 MB / 402.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.09687, allocations: 13.17 MB / 415.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.097, allocations: 0 / 415.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.09783, allocations: 334.9 kB / 416.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.1001, allocations: 1.111 MB / 417.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008798/0.1089, allocations: 3.594 MB / 420.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1091, allocations: 107.8 kB / 421 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.1092, allocations: 17.11 kB / 421 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1093, allocations: 59.78 kB / 421.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.1094, allocations: 51.77 kB / 421.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1094, allocations: 0 / 421.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1569/0.2663, allocations: 7.949 MB / 429.1 MB, free: 19.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.2664, allocations: 15.5 kB / 429.1 MB, free: 19.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.2665, allocations: 46.58 kB / 429.1 MB, free: 19.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.2709, allocations: 1.848 MB / 431 MB, free: 19.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.2709, allocations: 5.266 kB / 431 MB, free: 19.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2709, allocations: 0.9688 kB / 431 MB, free: 19.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.2709, allocations: 0 / 431 MB, free: 19.19 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.001728/0.2727, allocations: 0.7654 MB / 431.8 MB, free: 18.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2727, allocations: 9.75 kB / 431.8 MB, free: 18.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.2731, allocations: 58.97 kB / 431.8 MB, free: 18.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.643e-05/0.2732, allocations: 178 kB / 432 MB, free: 18.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.2733, allocations: 4.219 kB / 432 MB, free: 18.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.2733, allocations: 9.953 kB / 432 MB, free: 18.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.2737, allocations: 262.2 kB / 432.3 MB, free: 18.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2737, allocations: 1.578 kB / 432.3 MB, free: 18.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2737, allocations: 0 / 432.3 MB, free: 18.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.2737, allocations: 9.625 kB / 432.3 MB, free: 18.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.2742, allocations: 450.8 kB / 432.7 MB, free: 18.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.2745, allocations: 335.3 kB / 433 MB, free: 18.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.2748, allocations: 274.1 kB / 433.3 MB, free: 18.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01418/0.289, allocations: 9.837 MB / 443.2 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.2891, allocations: 33.97 kB / 443.2 MB, free: 9.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.063e-06/0.2891, allocations: 2.625 kB / 443.2 MB, free: 9.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008949/0.29, allocations: 0.8318 MB / 444 MB, free: 9.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.29, allocations: 60.73 kB / 444.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.2901, allocations: 98.53 kB / 444.2 MB, free: 8.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.2901, allocations: 34.27 kB / 444.2 MB, free: 8.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.391e-05/0.2901, allocations: 80.8 kB / 444.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.2902, allocations: 127.2 kB / 444.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.2902, allocations: 0 / 444.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.2902, allocations: 325.8 kB / 444.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.2904, allocations: 187.3 kB / 444.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.2906, allocations: 189.6 kB / 445.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.2908, allocations: 214.3 kB / 445.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2909, allocations: 0 / 445.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004933/0.2914, allocations: 491.5 kB / 445.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2914, allocations: 5.5 kB / 445.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2914, allocations: 0 / 445.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2914, allocations: 1.188 kB / 445.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.2916, allocations: 28.56 kB / 445.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2916, allocations: 1.062 kB / 445.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2917, allocations: 26.09 kB / 445.8 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.2917, allocations: 10.02 kB / 445.9 MB, free: 8.316 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.926e-05/0.2918, allocations: 122.2 kB / 446 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.2918, allocations: 11.78 kB / 446 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000867/0.2927, allocations: 0.6774 MB / 446.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2927, allocations: 5.656 kB / 446.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2927, allocations: 1.625 kB / 446.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2928, allocations: 0.625 kB / 446.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.2937, allocations: 0.9191 MB / 447.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2938, allocations: 2.75 kB / 447.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.2939, allocations: 34.12 kB / 447.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2939, allocations: 4.125 kB / 447.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2939, allocations: 7.438 kB / 447.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.2939, allocations: 7.219 kB / 447.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.2939, allocations: 7.094 kB / 447.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.2943, allocations: 481 kB / 448.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.2944, allocations: 131 kB / 448.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.2944, allocations: 6.031 kB / 448.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2945, allocations: 9.984 kB / 448.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.2946, allocations: 22.88 kB / 448.3 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2946, allocations: 8.281 kB / 448.3 MB, free: 7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2947, allocations: 176.9 kB / 448.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2947, allocations: 0 / 448.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002747/0.2975, allocations: 0.7375 MB / 449.2 MB, free: 6.797 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.003308/0.3008, allocations: 1.21 MB / 450.4 MB, free: 6.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.3013, allocations: 343.1 kB / 450.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3013, allocations: 1.25 kB / 450.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3014, allocations: 95.19 kB / 450.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3017, allocations: 47.27 kB / 450.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.3023, allocations: 485.8 kB / 451.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3024, allocations: 0.7119 MB / 452.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002986/0.3027, allocations: 288.2 kB / 452.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.3028, allocations: 24.61 kB / 452.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3028, allocations: 0 / 452.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of Templates: time 0.03088/0.3337, allocations: 24.84 MB / 477.2 MB, free: 4.59 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: