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.001513/0.001513, allocations: 113.5 kB / 16.37 MB, free: 5.996 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.001716/0.001716, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.292/1.292, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04781/0.04781, allocations: 9.095 MB / 279.6 MB, free: 2.977 MB / 222.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.001444/0.001444, allocations: 67.89 kB / 339.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1918, allocations: 48.15 MB / 387.6 MB, free: 51.56 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01432/0.2062, allocations: 17.26 MB / 404.9 MB, free: 38.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009841/0.2161, allocations: 15.53 MB / 420.4 MB, free: 26.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.2162, allocations: 1.156 kB / 420.4 MB, free: 26.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.217, allocations: 393.8 kB / 420.8 MB, free: 25.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.2197, allocations: 1.274 MB / 422.1 MB, free: 24.96 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.008704/0.2284, allocations: 4.417 MB / 426.5 MB, free: 20.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.2286, allocations: 147.2 kB / 426.6 MB, free: 20.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.2286, allocations: 17.02 kB / 426.7 MB, free: 20.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.2287, allocations: 67.7 kB / 426.7 MB, free: 20.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.2288, allocations: 43.73 kB / 426.8 MB, free: 20.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.2288, allocations: 4 kB / 426.8 MB, free: 20.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.2399, allocations: 8.593 MB / 435.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.2399, allocations: 11.94 kB / 435.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.24, allocations: 59.66 kB / 435.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006594/0.2466, allocations: 3.496 MB / 438.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2467, allocations: 0 / 438.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2467, allocations: 0 / 438.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2467, allocations: 4 kB / 438.9 MB, free: 8.078 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.0009682/0.2477, allocations: 0.7882 MB / 439.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.2477, allocations: 12.03 kB / 439.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.2481, allocations: 59.73 kB / 439.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.409e-05/0.2481, allocations: 182.8 kB / 440 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2482, allocations: 4 kB / 440 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2482, allocations: 4 kB / 440 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.2485, allocations: 261.3 kB / 440.2 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2485, allocations: 0 / 440.2 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2485, allocations: 8 kB / 440.2 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2485, allocations: 7.984 kB / 440.3 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.2489, allocations: 451.7 kB / 440.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.2491, allocations: 338.2 kB / 441 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.2494, allocations: 270.5 kB / 441.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.2496, allocations: 248.8 kB / 441.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/0.264, allocations: 10.02 MB / 451.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.2641, allocations: 40.38 kB / 451.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.335e-06/0.2641, allocations: 0 / 451.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009126/0.265, allocations: 0.6618 MB / 452.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.2651, allocations: 55.41 kB / 452.3 MB, free: 8.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.658e-05/0.2651, allocations: 93.86 kB / 452.4 MB, free: 8.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.2652, allocations: 29.7 kB / 452.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.2652, allocations: 80.92 kB / 452.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.816e-05/0.2653, allocations: 137.9 kB / 452.6 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.2654, allocations: 45.69 kB / 452.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.2655, allocations: 330.8 kB / 453 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.2657, allocations: 183.9 kB / 453.2 MB, free: 7.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2659, allocations: 192.9 kB / 453.4 MB, free: 7.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.2664, allocations: 451.5 kB / 453.8 MB, free: 7.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2664, allocations: 0 / 453.8 MB, free: 7.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005915/0.267, allocations: 491.5 kB / 454.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2671, allocations: 8 kB / 454.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2671, allocations: 3.938 kB / 454.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2671, allocations: 0 / 454.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.2673, allocations: 27.97 kB / 454.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2673, allocations: 4 kB / 454.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.2674, allocations: 27.62 kB / 454.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.2674, allocations: 7.984 kB / 454.4 MB, free: 6.695 MB / 334.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 0.0001001/0.2675, allocations: 129.8 kB / 454.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.2675, allocations: 11.81 kB / 454.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007677/0.2683, allocations: 0.6625 MB / 455.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2683, allocations: 4 kB / 455.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2683, allocations: 1.625 kB / 455.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2684, allocations: 7.922 kB / 455.2 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.2694, allocations: 0.8967 MB / 456.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2694, allocations: 8.281 kB / 456.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2696, allocations: 35.92 kB / 456.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2696, allocations: 7.984 kB / 456.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.2696, allocations: 8 kB / 456.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2696, allocations: 4 kB / 456.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.2696, allocations: 3.938 kB / 456.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.2701, allocations: 375.7 kB / 456.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.2701, allocations: 93 kB / 456.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.2702, allocations: 15.84 kB / 456.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2703, allocations: 6.562 kB / 456.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.2704, allocations: 15.92 kB / 456.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2704, allocations: 15.98 kB / 456.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.2706, allocations: 171.2 kB / 456.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2706, allocations: 0 / 456.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001795/0.2724, allocations: 0.7456 MB / 457.6 MB, free: 3.242 MB / 334.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.003096/0.2755, allocations: 1.215 MB / 458.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.276, allocations: 339.8 kB / 459.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.276, allocations: 0 / 459.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.2761, allocations: 103.8 kB / 459.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.2767, allocations: 78.56 kB / 459.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.2774, allocations: 402.5 kB / 459.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2776, allocations: 0.7084 MB / 460.4 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003535/0.278, allocations: 288.6 kB / 460.7 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.2781, allocations: 27.42 kB / 460.7 MB, free: 32 kB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2781, allocations: 0 / 460.7 MB, free: 32 kB / 334.1 MB Notification: Performance of Templates: time 0.03388/0.312, allocations: 25.89 MB / 486.6 MB, free: 6.164 MB / 366.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 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1)