Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 112.6 kB / 16.37 MB, free: 6 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.001631/0.001632, allocations: 196 kB / 17.31 MB, free: 5.613 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.329/1.329, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04625/0.04625, allocations: 9.088 MB / 279.6 MB, free: 2.973 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.001655/0.001655, allocations: 79.88 kB / 339.5 MB, free: 6.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2367, allocations: 48.14 MB / 387.6 MB, free: 51.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01693/0.2537, allocations: 16.89 MB / 404.5 MB, free: 39.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2552, allocations: 1.851 MB / 406.4 MB, free: 37.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.2553, allocations: 4 kB / 406.4 MB, free: 37.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.2559, allocations: 265.2 kB / 406.6 MB, free: 37.47 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.702e-05/0.2559, allocations: 26.02 kB / 406.7 MB, free: 37.45 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.006512/0.2624, allocations: 2.797 MB / 409.5 MB, free: 35.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.2625, allocations: 54.08 kB / 409.5 MB, free: 35.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.2626, allocations: 9.328 kB / 409.5 MB, free: 35.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.696e-05/0.2627, allocations: 31.73 kB / 409.6 MB, free: 35.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.2627, allocations: 6.5 kB / 409.6 MB, free: 35.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.2627, allocations: 0 / 409.6 MB, free: 35.65 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006178/0.2689, allocations: 4.957 MB / 414.5 MB, free: 32.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.2689, allocations: 0 / 414.5 MB, free: 32.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.269, allocations: 15.94 kB / 414.5 MB, free: 32.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.2716, allocations: 1.988 MB / 416.5 MB, free: 30.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2716, allocations: 3.984 kB / 416.5 MB, free: 30.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2717, allocations: 4 kB / 416.5 MB, free: 30.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2717, allocations: 0 / 416.5 MB, free: 30.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005696/0.2722, allocations: 0.4958 MB / 417 MB, free: 29.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2723, allocations: 8.031 kB / 417 MB, free: 29.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.2723, allocations: 0 / 417 MB, free: 29.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.868e-05/0.2724, allocations: 179 kB / 417.2 MB, free: 29.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2724, allocations: 0.5625 kB / 417.2 MB, free: 29.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.2724, allocations: 0 / 417.2 MB, free: 29.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/0.2725, allocations: 41.69 kB / 417.2 MB, free: 29.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2726, allocations: 0 / 417.2 MB, free: 29.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2726, allocations: 3.938 kB / 417.3 MB, free: 29.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.2726, allocations: 0 / 417.3 MB, free: 29.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.2726, allocations: 15.92 kB / 417.3 MB, free: 29.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.2727, allocations: 172.1 kB / 417.4 MB, free: 29.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/0.2728, allocations: 42.5 kB / 417.5 MB, free: 29.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.2728, allocations: 24.83 kB / 417.5 MB, free: 29.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02417/0.297, allocations: 19.34 MB / 436.8 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2971, allocations: 34.55 kB / 436.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/0.2971, allocations: 3.938 kB / 436.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001951/0.2973, allocations: 81.52 kB / 437 MB, free: 6.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.2973, allocations: 55.41 kB / 437 MB, free: 6.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.891e-05/0.2974, allocations: 93.86 kB / 437.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.2974, allocations: 25.7 kB / 437.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.451e-05/0.2974, allocations: 84.3 kB / 437.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.2975, allocations: 27.64 kB / 437.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2975, allocations: 9.719 kB / 437.2 MB, free: 6.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.2976, allocations: 322.8 kB / 437.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.2976, allocations: 11.98 kB / 437.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.2976, allocations: 8 kB / 437.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.2977, allocations: 40.78 kB / 437.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2977, allocations: 0 / 437.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.169e-05/0.2977, allocations: 57.75 kB / 437.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2978, allocations: 8 kB / 437.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2978, allocations: 0 / 437.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.2978, allocations: 0 / 437.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-06/0.2978, allocations: 4 kB / 437.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2978, allocations: 0 / 437.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.2978, allocations: 0 / 437.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2979, allocations: 320 / 437.7 MB, free: 5.773 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 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.715e-05/0.2979, allocations: 109.8 kB / 437.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.2979, allocations: 7.906 kB / 437.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.2981, allocations: 178.8 kB / 438 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.2981, allocations: 180.3 kB / 438.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.322e-05/0.2981, allocations: 180.2 kB / 438.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/0.2982, allocations: 180.3 kB / 438.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.2983, allocations: 413.1 kB / 438.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/0.2984, allocations: 108.9 kB / 439 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.2984, allocations: 106.6 kB / 439.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.918e-05/0.2984, allocations: 184.2 kB / 439.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2984, allocations: 176.3 kB / 439.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-05/0.2985, allocations: 184.2 kB / 439.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-05/0.2985, allocations: 192.1 kB / 439.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.705e-05/0.2986, allocations: 311.6 kB / 440.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.2986, allocations: 182.1 kB / 440.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.2987, allocations: 188.2 kB / 440.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.2988, allocations: 104.9 kB / 440.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.2988, allocations: 180.3 kB / 440.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2988, allocations: 104.9 kB / 440.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.2989, allocations: 103.3 kB / 441 MB, free: 2.238 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2989, allocations: 0 / 441 MB, free: 2.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008983/0.2998, allocations: 391.8 kB / 441.4 MB, free: 1.855 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.001416/0.3012, allocations: 0.7165 MB / 442.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.876e-05/0.3013, allocations: 20 kB / 442.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3013, allocations: 0 / 442.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3013, allocations: 3.938 kB / 442.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.3017, allocations: 498.5 kB / 442.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.3019, allocations: 195.1 kB / 442.8 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.3021, allocations: 0.6807 MB / 443.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.667e-05/0.3021, allocations: 0 / 443.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.098e-05/0.3022, allocations: 11.44 kB / 443.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3022, allocations: 0 / 443.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Templates: time 0.0199/0.3221, allocations: 14.14 MB / 457.6 MB, free: 1.566 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)