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.001225/0.001225, allocations: 108.9 kB / 16.37 MB, free: 6.016 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.001082/0.001081, allocations: 195.1 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.711/1.711, 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.04763/0.04763, allocations: 9.092 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.001595/0.001595, allocations: 63.91 kB / 339.5 MB, free: 7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4025, allocations: 48.15 MB / 387.6 MB, free: 51.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02545/0.4281, allocations: 16.9 MB / 404.5 MB, free: 39.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006282/0.4344, allocations: 5.798 MB / 410.3 MB, free: 34.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.4345, allocations: 4 kB / 410.3 MB, free: 34.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.4357, allocations: 257.7 kB / 410.6 MB, free: 34.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.4357, allocations: 26.05 kB / 410.6 MB, free: 34.22 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.01626/0.452, allocations: 4.109 MB / 414.7 MB, free: 31.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.4522, allocations: 49.06 kB / 414.8 MB, free: 31.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.636e-05/0.4523, allocations: 14.25 kB / 414.8 MB, free: 31.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4524, allocations: 26.72 kB / 414.8 MB, free: 31.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.4525, allocations: 14.81 kB / 414.8 MB, free: 31.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.4525, allocations: 0 / 414.8 MB, free: 31.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.4661, allocations: 6.861 MB / 421.7 MB, free: 25.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.4662, allocations: 4 kB / 421.7 MB, free: 25.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/0.4663, allocations: 11.94 kB / 421.7 MB, free: 25.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009176/0.4754, allocations: 2.849 MB / 424.5 MB, free: 22.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.4755, allocations: 0 / 424.5 MB, free: 22.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.4755, allocations: 0 / 424.5 MB, free: 22.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.4755, 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.001522/0.4771, allocations: 0.6246 MB / 425.2 MB, free: 21.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.4771, allocations: 8.031 kB / 425.2 MB, free: 21.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.4772, allocations: 3.938 kB / 425.2 MB, free: 21.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.4773, allocations: 174.9 kB / 425.3 MB, free: 21.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.4773, allocations: 0 / 425.3 MB, free: 21.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.4773, allocations: 0 / 425.3 MB, free: 21.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.4775, allocations: 41.69 kB / 425.4 MB, free: 21.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4775, allocations: 0 / 425.4 MB, free: 21.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4775, allocations: 3.938 kB / 425.4 MB, free: 21.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4775, allocations: 5.938 kB / 425.4 MB, free: 21.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/0.4776, allocations: 8 kB / 425.4 MB, free: 21.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.4778, allocations: 169.6 kB / 425.6 MB, free: 21.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.184e-05/0.4778, allocations: 34.52 kB / 425.6 MB, free: 21.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.4779, allocations: 24.88 kB / 425.6 MB, free: 21.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/0.4937, allocations: 9.945 MB / 435.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.4938, allocations: 38.5 kB / 435.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 4.348e-06/0.4938, allocations: 0 / 435.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002947/0.4941, allocations: 73.58 kB / 435.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.4942, allocations: 55.41 kB / 435.7 MB, free: 9.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.4943, allocations: 105.8 kB / 435.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.4943, allocations: 25.7 kB / 435.9 MB, free: 9.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.4943, allocations: 80.14 kB / 435.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.4944, allocations: 15.72 kB / 436 MB, free: 9.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.4944, allocations: 21.7 kB / 436 MB, free: 9.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.4945, allocations: 310.8 kB / 436.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.4946, allocations: 12 kB / 436.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.4946, allocations: 12 kB / 436.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.4946, allocations: 41.3 kB / 436.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4946, allocations: 0 / 436.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.167e-05/0.4947, allocations: 61.62 kB / 436.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.4948, allocations: 11.94 kB / 436.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4948, allocations: 0 / 436.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.4948, allocations: 3.938 kB / 436.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.4948, allocations: 0 / 436.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4948, allocations: 0 / 436.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.4949, allocations: 3.938 kB / 436.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4949, allocations: 7.984 kB / 436.4 MB, free: 8.672 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 7.539e-05/0.495, allocations: 109.9 kB / 436.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.495, allocations: 8.906 kB / 436.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.4951, allocations: 166.9 kB / 436.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-05/0.4952, allocations: 188.1 kB / 436.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.536e-05/0.4952, allocations: 184.3 kB / 437.1 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.942e-05/0.4953, allocations: 184.3 kB / 437.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.4955, allocations: 409.2 kB / 437.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.4955, allocations: 101 kB / 437.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.4956, allocations: 104.9 kB / 437.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-05/0.4956, allocations: 188.2 kB / 438 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.4957, allocations: 177.1 kB / 438.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.503e-05/0.4957, allocations: 184.2 kB / 438.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.95e-05/0.4957, allocations: 180.3 kB / 438.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.4958, allocations: 307.8 kB / 438.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.4959, allocations: 186 kB / 439.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.496, allocations: 188.2 kB / 439.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.4961, allocations: 106.1 kB / 439.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.4961, allocations: 184.2 kB / 439.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.4962, allocations: 101 kB / 439.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.942e-05/0.4962, allocations: 99.27 kB / 439.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4962, allocations: 288 / 439.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002121/0.4983, 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.002444/0.5008, allocations: 1.043 MB / 441.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.5009, allocations: 19.98 kB / 441.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5009, allocations: 4.062 kB / 441.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.5009, allocations: 4 kB / 441.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.5015, allocations: 481.4 kB / 441.9 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.5019, allocations: 207 kB / 442.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.5021, allocations: 0.6768 MB / 442.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.704e-05/0.5021, allocations: 0 / 442.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.5021, allocations: 15.38 kB / 442.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5021, allocations: 0 / 442.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of Templates: time 0.0303/0.5324, allocations: 19.47 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 cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1)