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.0008164/0.0008164, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005008/0.005008, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.316/1.316, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04369/0.04369, allocations: 9.082 MB / 279.8 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.0005241/0.0005242, allocations: 12.22 kB / 339.7 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0692/0.06973, allocations: 49.19 MB / 388.9 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01763/0.0874, allocations: 16.99 MB / 405.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.1017, allocations: 15.6 MB / 421.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.1018, allocations: 0 / 421.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009128/0.1028, allocations: 343.7 kB / 421.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.1052, allocations: 1.142 MB / 423 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009325/0.1146, allocations: 3.681 MB / 426.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1148, allocations: 143.2 kB / 426.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.1148, allocations: 17.08 kB / 426.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.115, allocations: 59.72 kB / 426.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.1151, allocations: 47.73 kB / 426.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1151, allocations: 0 / 426.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1595/0.2746, allocations: 7.979 MB / 434.9 MB, free: 18.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/0.2746, allocations: 15.64 kB / 434.9 MB, free: 18.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.361e-05/0.2747, allocations: 82.89 kB / 435 MB, free: 18.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007362/0.2821, allocations: 3.351 MB / 438.4 MB, free: 17.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2821, allocations: 3.062 kB / 438.4 MB, free: 17.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2821, allocations: 0.8125 kB / 438.4 MB, free: 17.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2821, allocations: 0 / 438.4 MB, free: 17.98 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.001819/0.284, allocations: 0.7789 MB / 439.2 MB, free: 17.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.284, allocations: 9.031 kB / 439.2 MB, free: 17.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.2844, allocations: 58.11 kB / 439.2 MB, free: 17.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.727e-05/0.2845, allocations: 178 kB / 439.4 MB, free: 17.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2846, allocations: 6.094 kB / 439.4 MB, free: 17.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.2846, allocations: 2.688 kB / 439.4 MB, free: 17.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.2849, allocations: 263.5 kB / 439.7 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.285, allocations: 0 / 439.7 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.285, allocations: 1.719 kB / 439.7 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.285, allocations: 7.531 kB / 439.7 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.2855, allocations: 450.8 kB / 440.1 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.2859, allocations: 333.9 kB / 440.4 MB, free: 16.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.2862, allocations: 275.3 kB / 440.7 MB, free: 16.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.2864, allocations: 246.2 kB / 440.9 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01358/0.3, allocations: 9.802 MB / 450.7 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.3001, allocations: 35.41 kB / 450.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.534e-06/0.3001, allocations: 5.062 kB / 450.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008031/0.3009, allocations: 0.6682 MB / 451.5 MB, free: 8.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.3009, allocations: 52.81 kB / 451.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.862e-05/0.301, allocations: 100.1 kB / 451.6 MB, free: 7.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.301, allocations: 29.52 kB / 451.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.283e-05/0.301, allocations: 84.61 kB / 451.7 MB, free: 7.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.3011, allocations: 133 kB / 451.8 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.3011, allocations: 30.55 kB / 451.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.3012, allocations: 327.9 kB / 452.2 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.3014, allocations: 187.1 kB / 452.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.3015, allocations: 189 kB / 452.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.3019, allocations: 449.4 kB / 453 MB, free: 7.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3019, allocations: 3.281 kB / 453 MB, free: 7.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000483/0.3024, allocations: 489.1 kB / 453.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3024, allocations: 7.719 kB / 453.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3025, allocations: 4 kB / 453.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3025, allocations: 1.781 kB / 453.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3026, allocations: 28.64 kB / 453.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3026, allocations: 0 / 453.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.122e-05/0.3027, allocations: 32.28 kB / 453.6 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.3028, allocations: 4.219 kB / 453.6 MB, free: 7.266 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 7.507e-05/0.3028, allocations: 120.9 kB / 453.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.3029, allocations: 8.297 kB / 453.7 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.3035, allocations: 0.6754 MB / 454.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3035, allocations: 0 / 454.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3035, allocations: 0 / 454.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3035, allocations: 3.938 kB / 454.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009102/0.3044, allocations: 0.9146 MB / 455.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3045, allocations: 2.094 kB / 455.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3046, allocations: 31.36 kB / 455.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.3046, allocations: 3.125 kB / 455.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3046, allocations: 12.77 kB / 455.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3046, allocations: 5.5 kB / 455.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3046, allocations: 3.25 kB / 455.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.305, allocations: 376.2 kB / 455.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.3051, allocations: 127.8 kB / 455.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.3051, allocations: 10.91 kB / 455.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3052, allocations: 9.359 kB / 455.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.3053, allocations: 17.95 kB / 455.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3053, allocations: 10.98 kB / 455.9 MB, free: 5.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.3054, allocations: 174.1 kB / 456 MB, free: 5.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3054, allocations: 0 / 456 MB, free: 5.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002214/0.3076, allocations: 0.7387 MB / 456.8 MB, free: 5.664 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.004148/0.3118, allocations: 1.222 MB / 458 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.3123, allocations: 336 kB / 458.3 MB, free: 5.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.3123, allocations: 6.188 kB / 458.3 MB, free: 5.238 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3125, allocations: 98.16 kB / 458.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.3132, allocations: 78.23 kB / 458.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.3137, allocations: 479 kB / 459 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.3139, allocations: 0.7073 MB / 459.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003258/0.3142, allocations: 300.7 kB / 460 MB, free: 3.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.3142, allocations: 20.34 kB / 460 MB, free: 3.984 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3143, allocations: 0 / 460 MB, free: 3.984 MB / 318.1 MB Notification: Performance of Templates: time 0.03597/0.3502, allocations: 25.81 MB / 485.8 MB, free: 13.4 MB / 350.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: