Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001066/0.001066, allocations: 194.6 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.282/1.282, 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.04554/0.04554, allocations: 9.096 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.001462/0.001462, allocations: 75.84 kB / 339.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1949, allocations: 48.14 MB / 387.6 MB, free: 51.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01579/0.2107, allocations: 16.89 MB / 404.5 MB, free: 39.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004317/0.2151, allocations: 5.801 MB / 410.3 MB, free: 34.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.2151, allocations: 4 kB / 410.3 MB, free: 34.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.2157, allocations: 260.5 kB / 410.6 MB, free: 34.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.48e-05/0.2157, allocations: 23.09 kB / 410.6 MB, free: 34.21 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.008445/0.2242, allocations: 4.099 MB / 414.7 MB, free: 31.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.2243, allocations: 56.77 kB / 414.8 MB, free: 31.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.2243, allocations: 7.438 kB / 414.8 MB, free: 31.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.2244, allocations: 25.84 kB / 414.8 MB, free: 31.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.2244, allocations: 14.48 kB / 414.8 MB, free: 31.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.2245, allocations: 0 / 414.8 MB, free: 31.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007958/0.2324, allocations: 6.861 MB / 421.7 MB, free: 25.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.649e-06/0.2324, allocations: 3.938 kB / 421.7 MB, free: 25.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.2325, allocations: 15.94 kB / 421.7 MB, free: 25.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.2363, allocations: 2.853 MB / 424.5 MB, free: 22.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2364, allocations: 0 / 424.5 MB, free: 22.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2364, allocations: 0 / 424.5 MB, free: 22.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2364, allocations: 0 / 424.5 MB, free: 22.51 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.0006952/0.2371, allocations: 0.6168 MB / 425.2 MB, free: 21.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2371, allocations: 8.031 kB / 425.2 MB, free: 21.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.2372, allocations: 3.938 kB / 425.2 MB, free: 21.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.777e-05/0.2372, allocations: 171 kB / 425.3 MB, free: 21.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2372, allocations: 3.938 kB / 425.3 MB, free: 21.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.2373, allocations: 3.938 kB / 425.4 MB, free: 21.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.966e-05/0.2373, allocations: 41.69 kB / 425.4 MB, free: 21.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.2374, allocations: 0 / 425.4 MB, free: 21.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.2374, allocations: 7.938 kB / 425.4 MB, free: 21.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2374, allocations: 0 / 425.4 MB, free: 21.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.2374, allocations: 12 kB / 425.4 MB, free: 21.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.2375, allocations: 165.6 kB / 425.6 MB, free: 21.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.661e-05/0.2376, allocations: 34.56 kB / 425.6 MB, free: 21.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.2376, allocations: 26.39 kB / 425.6 MB, free: 21.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01412/0.2517, allocations: 9.949 MB / 435.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.2518, allocations: 34.5 kB / 435.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.2518, allocations: 0 / 435.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001619/0.2519, allocations: 77.59 kB / 435.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.716e-05/0.252, allocations: 51.41 kB / 435.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/0.252, allocations: 97.88 kB / 435.8 MB, free: 9.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.252, allocations: 25.7 kB / 435.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.2521, allocations: 88.14 kB / 435.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2521, allocations: 15.66 kB / 436 MB, free: 9.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.2521, allocations: 21.7 kB / 436 MB, free: 9.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.2522, allocations: 310.8 kB / 436.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.2522, allocations: 12 kB / 436.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.2522, allocations: 16.11 kB / 436.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.2522, allocations: 41.14 kB / 436.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2522, allocations: 0 / 436.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.067e-05/0.2523, allocations: 57.69 kB / 436.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2523, allocations: 7.938 kB / 436.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.2523, allocations: 0 / 436.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2524, allocations: 0 / 436.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.2524, allocations: 3.984 kB / 436.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2524, allocations: 3.938 kB / 436.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.2524, allocations: 11.83 kB / 436.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.2524, allocations: 5.875 kB / 436.4 MB, free: 8.676 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 4.164e-05/0.2525, allocations: 113.8 kB / 436.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.2525, allocations: 11.84 kB / 436.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.2526, allocations: 162.9 kB / 436.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.2526, allocations: 184.2 kB / 436.9 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/0.2526, allocations: 184.3 kB / 437.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.2527, allocations: 184.2 kB / 437.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.2528, allocations: 409.2 kB / 437.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.2528, allocations: 101 kB / 437.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.2528, allocations: 112.9 kB / 437.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.942e-05/0.2528, allocations: 184.2 kB / 438.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.2529, allocations: 176.3 kB / 438.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-05/0.2529, allocations: 184.2 kB / 438.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.105e-05/0.2529, allocations: 176.3 kB / 438.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.85e-05/0.253, allocations: 311.8 kB / 438.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.253, allocations: 185.9 kB / 439.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.2531, allocations: 186 kB / 439.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.664e-05/0.2531, allocations: 109 kB / 439.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.2532, allocations: 184.2 kB / 439.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.2532, allocations: 101 kB / 439.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.2532, allocations: 99.27 kB / 439.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2532, allocations: 0 / 439.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001157/0.2544, allocations: 0.5973 MB / 440.3 MB, free: 4.551 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.001977/0.2564, allocations: 1.028 MB / 441.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.034e-05/0.2565, allocations: 20 kB / 441.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2565, allocations: 0 / 441.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.2565, allocations: 11.94 kB / 441.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.2569, allocations: 484.5 kB / 441.9 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.2571, allocations: 206.2 kB / 442.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.803e-05/0.2572, allocations: 0.6768 MB / 442.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.707e-05/0.2572, allocations: 0 / 442.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-06/0.2573, allocations: 11.44 kB / 442.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2573, allocations: 0 / 442.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of Templates: time 0.02507/0.2823, allocations: 19.49 MB / 462.2 MB, free: 14.6 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1)