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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05125/0.05125, allocations: 9.088 MB / 25.82 MB, free: 3.426 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 233.2 MB, free: 14.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 95.48 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 55.92 kB / 341.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.285, allocations: 48.15 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01525/0.3003, allocations: 17.5 MB / 406.7 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.3106, allocations: 15.77 MB / 422.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3107, allocations: 0 / 422.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009731/0.3117, allocations: 351.6 kB / 422.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.3144, allocations: 1.126 MB / 424 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.3253, allocations: 3.666 MB / 427.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.3256, allocations: 147.1 kB / 427.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.3256, allocations: 13.11 kB / 427.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3258, allocations: 63.67 kB / 427.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.3259, allocations: 55.72 kB / 427.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3259, allocations: 4 kB / 427.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/0.3392, allocations: 7.974 MB / 435.9 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.3393, allocations: 23.84 kB / 435.9 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3394, allocations: 51.69 kB / 436 MB, free: 7.652 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008292/0.3477, allocations: 3.36 MB / 439.3 MB, free: 4.285 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3477, allocations: 3.984 kB / 439.3 MB, free: 4.281 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3477, allocations: 0 / 439.3 MB, free: 4.281 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3478, allocations: 0 / 439.3 MB, free: 4.281 MB / 314.7 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.00144/0.3492, allocations: 0.7914 MB / 440.1 MB, free: 3.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3493, allocations: 16.03 kB / 440.1 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.3496, allocations: 55.75 kB / 440.2 MB, free: 3.371 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3498, allocations: 182.9 kB / 440.4 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3498, allocations: 7.938 kB / 440.4 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3498, allocations: 4 kB / 440.4 MB, free: 3.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.3502, allocations: 257.6 kB / 440.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3502, allocations: 0 / 440.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3502, allocations: 4 kB / 440.6 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3502, allocations: 8 kB / 440.6 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.3508, allocations: 447.8 kB / 441.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.3511, allocations: 342.3 kB / 441.4 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.3514, allocations: 274.4 kB / 441.7 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.3517, allocations: 257.2 kB / 441.9 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/0.3676, allocations: 10.02 MB / 451.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.3677, allocations: 38.56 kB / 452 MB, free: 5.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.906e-06/0.3677, allocations: 3.938 kB / 452 MB, free: 5.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.001248/0.369, allocations: 0.661 MB / 452.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.369, allocations: 55.41 kB / 452.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3692, allocations: 97.84 kB / 452.8 MB, free: 4.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3692, allocations: 25.7 kB / 452.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.3693, allocations: 84.8 kB / 452.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.3694, allocations: 130.1 kB / 453 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/0.3695, allocations: 49.69 kB / 453.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3697, allocations: 334.7 kB / 453.4 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.3699, allocations: 183.9 kB / 453.6 MB, free: 4.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.3702, allocations: 189 kB / 453.8 MB, free: 3.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.3708, allocations: 455.6 kB / 454.2 MB, free: 3.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3708, allocations: 4 kB / 454.2 MB, free: 3.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006251/0.3714, allocations: 484 kB / 454.7 MB, free: 2.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3715, allocations: 8 kB / 454.7 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3715, allocations: 0 / 454.7 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3715, allocations: 0 / 454.7 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3716, allocations: 27.92 kB / 454.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3717, allocations: 0 / 454.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-05/0.3718, allocations: 35.61 kB / 454.8 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.3718, allocations: 7.938 kB / 454.8 MB, free: 2.875 MB / 330.7 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 0.0001108/0.3719, allocations: 117.8 kB / 454.9 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.3719, allocations: 15.81 kB / 454.9 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008247/0.3728, allocations: 0.6747 MB / 455.6 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3728, allocations: 4 kB / 455.6 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3728, allocations: 0 / 455.6 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3728, allocations: 3.938 kB / 455.6 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3739, allocations: 0.9008 MB / 456.5 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3739, allocations: 8.062 kB / 456.5 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.374, allocations: 31.97 kB / 456.5 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.374, allocations: 0 / 456.5 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3741, allocations: 15.98 kB / 456.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3741, allocations: 3.938 kB / 456.5 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3741, allocations: 7.938 kB / 456.5 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.375, allocations: 1.044 MB / 457.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.375, allocations: 85.02 kB / 457.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.3751, allocations: 19.84 kB / 457.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.3752, allocations: 3.984 kB / 457.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3753, allocations: 19.92 kB / 457.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3753, allocations: 12 kB / 457.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.3755, allocations: 175.2 kB / 457.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3755, allocations: 0 / 457.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002221/0.3777, allocations: 0.7535 MB / 458.7 MB, free: 14.69 MB / 346.7 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.003157/0.3809, allocations: 1.21 MB / 459.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005223/0.3814, allocations: 347.8 kB / 460.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3814, allocations: 0 / 460.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.3816, allocations: 95.81 kB / 460.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.3822, allocations: 80.55 kB / 460.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.383, allocations: 0.5656 MB / 460.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3832, allocations: 0.7164 MB / 461.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003656/0.3836, allocations: 287.8 kB / 461.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.3837, allocations: 35.3 kB / 462 MB, free: 11.27 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3837, allocations: 0 / 462 MB, free: 11.27 MB / 346.7 MB Notification: Performance of Templates: time 0.03306/0.4167, allocations: 25.94 MB / 487.9 MB, free: 1.301 MB / 362.7 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)