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.001002/0.001002, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001095/0.001095, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.226/1.226, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04206/0.04206, allocations: 9.09 MB / 278.5 MB, free: 12.33 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.001254/0.001254, allocations: 75.81 kB / 337.5 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06689/0.06815, allocations: 48.16 MB / 385.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.0164/0.08459, allocations: 17.24 MB / 402.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.09706, allocations: 15.49 MB / 418.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.09724, allocations: 0 / 418.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.09812, allocations: 359.7 kB / 418.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.1006, allocations: 1.2 MB / 420 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009269/0.1099, allocations: 3.949 MB / 423.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1101, allocations: 143.2 kB / 424.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.1102, allocations: 24.98 kB / 424.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1103, allocations: 63.73 kB / 424.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.1104, allocations: 51.66 kB / 424.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1104, allocations: 4 kB / 424.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1404/0.2508, allocations: 8.54 MB / 432.7 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.2508, allocations: 9.141 kB / 432.7 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.2509, allocations: 59.27 kB / 432.8 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007393/0.2583, allocations: 3.51 MB / 436.3 MB, free: 18.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2584, allocations: 5.25 kB / 436.3 MB, free: 18.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2584, allocations: 0 / 436.3 MB, free: 18.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2584, allocations: 0 / 436.3 MB, free: 18.77 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.001282/0.2597, allocations: 0.7887 MB / 437.1 MB, free: 18.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2597, allocations: 10.25 kB / 437.1 MB, free: 18.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/0.2601, allocations: 56.12 kB / 437.2 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.2602, allocations: 176.6 kB / 437.3 MB, free: 17.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2602, allocations: 7.594 kB / 437.4 MB, free: 17.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.2603, allocations: 3.969 kB / 437.4 MB, free: 17.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.2606, allocations: 266 kB / 437.6 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2606, allocations: 0 / 437.6 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2606, allocations: 4.844 kB / 437.6 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2606, allocations: 7 kB / 437.6 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.2611, allocations: 449.3 kB / 438.1 MB, free: 17.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.2614, allocations: 329.7 kB / 438.4 MB, free: 17.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.2617, allocations: 276.4 kB / 438.7 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.2619, allocations: 251 kB / 438.9 MB, free: 17.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/0.2756, allocations: 10.02 MB / 448.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.2756, allocations: 30.56 kB / 449 MB, free: 8.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.903e-06/0.2756, allocations: 0 / 449 MB, free: 8.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0007194/0.2764, allocations: 0.6767 MB / 449.6 MB, free: 8.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.2764, allocations: 56.03 kB / 449.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.309e-05/0.2764, allocations: 103.8 kB / 449.8 MB, free: 8.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2765, allocations: 29.2 kB / 449.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.182e-05/0.2765, allocations: 82.53 kB / 449.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.2766, allocations: 125.5 kB / 450 MB, free: 8.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.2766, allocations: 45.52 kB / 450.1 MB, free: 8.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.2767, allocations: 322.9 kB / 450.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2768, allocations: 196 kB / 450.6 MB, free: 8.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.277, allocations: 185.5 kB / 450.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.2774, allocations: 450 kB / 451.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2774, allocations: 0 / 451.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004551/0.2778, allocations: 495 kB / 451.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2779, allocations: 5.625 kB / 451.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2779, allocations: 0.9844 kB / 451.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2779, allocations: 4 kB / 451.7 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.278, allocations: 29.56 kB / 451.7 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2781, allocations: 3.469 kB / 451.7 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.2781, allocations: 26.28 kB / 451.7 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.2782, allocations: 8.047 kB / 451.7 MB, free: 8.008 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.249e-05/0.2782, allocations: 122.5 kB / 451.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2783, allocations: 10.34 kB / 451.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.2789, allocations: 0.663 MB / 452.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2789, allocations: 1.594 kB / 452.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2789, allocations: 2.344 kB / 452.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2789, allocations: 7.594 kB / 452.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009562/0.2799, allocations: 0.9134 MB / 453.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2799, allocations: 2.312 kB / 453.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.28, allocations: 29.56 kB / 453.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2801, allocations: 7.562 kB / 453.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.2801, allocations: 13.77 kB / 453.5 MB, free: 7.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.2801, allocations: 6.344 kB / 453.5 MB, free: 7.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2801, allocations: 2.531 kB / 453.5 MB, free: 7.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.2805, allocations: 374.5 kB / 453.9 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.2806, allocations: 85.42 kB / 454 MB, free: 6.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.2806, allocations: 22.64 kB / 454 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.2807, allocations: 7.656 kB / 454 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.2808, allocations: 27 kB / 454 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2808, allocations: 9.453 kB / 454 MB, free: 6.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.2809, allocations: 172.8 kB / 454.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2809, allocations: 0 / 454.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001899/0.2828, allocations: 0.7405 MB / 454.9 MB, free: 6.652 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.00245/0.2853, allocations: 1.217 MB / 456.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.2857, allocations: 341.3 kB / 456.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2857, allocations: 0 / 456.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2858, allocations: 94.78 kB / 456.6 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.2864, allocations: 82.7 kB / 456.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.2869, allocations: 455 kB / 457.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.847e-05/0.287, allocations: 0.707 MB / 457.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.2873, allocations: 290.1 kB / 458.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.2873, allocations: 25.67 kB / 458.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2873, allocations: 0 / 458.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of Templates: time 0.02871/0.3161, allocations: 25.97 MB / 484.1 MB, free: 14.14 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)