Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.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) 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(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001266/0.001266, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.663/1.663, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.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.0014/0.0014, allocations: 47.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3636, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00303/0.3667, allocations: 1.627 MB / 326.3 MB, free: 0.6602 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3678, allocations: 0.5673 MB / 326.9 MB, free: 228 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.3678, allocations: 0 / 326.9 MB, free: 228 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.3679, allocations: 7.922 kB / 326.9 MB, free: 220 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.368, allocations: 10.41 kB / 326.9 MB, free: 212 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.3682, allocations: 36.95 kB / 326.9 MB, free: 184 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 8.288e-05/0.3683, allocations: 52.02 kB / 327 MB, free: 152 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3684, allocations: 15.05 kB / 327 MB, free: 144 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.3685, allocations: 18.97 kB / 327 MB, free: 132 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.3686, allocations: 35.42 kB / 327 MB, free: 104 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3686, allocations: 3.438 kB / 327 MB, free: 104 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.3688, allocations: 38.44 kB / 327.1 MB, free: 84 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.3688, allocations: 11.72 kB / 327.1 MB, free: 76 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.3688, allocations: 24.92 kB / 327.1 MB, free: 56 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.369, allocations: 74.3 kB / 327.2 MB, free: 0 / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.369, allocations: 1.312 kB / 327.2 MB, free: 0 / 254.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.369, allocations: 0 / 327.2 MB, free: 0 / 254.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.369, allocations: 0 / 327.2 MB, free: 0 / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006049/0.3696, allocations: 380.5 kB / 327.6 MB, free: 15.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3697, allocations: 9.156 kB / 327.6 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.3701, allocations: 47.83 kB / 327.6 MB, free: 15.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3703, allocations: 180.3 kB / 327.8 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.3703, allocations: 3.219 kB / 327.8 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.3704, allocations: 8.531 kB / 327.8 MB, free: 15.37 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.3706, allocations: 84.7 kB / 327.9 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3706, allocations: 1.469 kB / 327.9 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3707, allocations: 4 kB / 327.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3707, allocations: 5.531 kB / 327.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.3709, allocations: 65.61 kB / 328 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.3717, allocations: 346.1 kB / 328.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.3719, allocations: 85.95 kB / 328.4 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.372, allocations: 38.05 kB / 328.4 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.3721, allocations: 1.031 kB / 328.4 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3721, allocations: 35.69 kB / 328.5 MB, free: 14.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3721, allocations: 0 / 328.5 MB, free: 14.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004772/0.3726, allocations: 121.8 kB / 328.6 MB, free: 14.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.3727, allocations: 56.88 kB / 328.6 MB, free: 14.66 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3728, allocations: 122.3 kB / 328.8 MB, free: 14.55 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.3729, allocations: 25.7 kB / 328.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.3729, allocations: 100.1 kB / 328.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.373, allocations: 13.12 kB / 328.9 MB, free: 14.41 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.373, allocations: 26.05 kB / 328.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3732, allocations: 312.2 kB / 329.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3733, allocations: 32.03 kB / 329.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.3734, allocations: 22.14 kB / 329.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.3736, allocations: 63.22 kB / 329.3 MB, free: 14.01 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3736, allocations: 0 / 329.3 MB, free: 14.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002315/0.3738, allocations: 91.97 kB / 329.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3738, allocations: 5.594 kB / 329.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3739, allocations: 8 kB / 329.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3739, allocations: 1.156 kB / 329.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.374, allocations: 21.31 kB / 329.5 MB, free: 13.94 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.374, allocations: 3.938 kB / 329.5 MB, free: 13.93 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.3741, allocations: 11.41 kB / 329.5 MB, free: 13.93 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3741, allocations: 4.984 kB / 329.5 MB, free: 13.93 MB / 270.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 8.944e-05/0.3742, allocations: 113.2 kB / 329.6 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3743, allocations: 6.312 kB / 329.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.3746, allocations: 108.9 kB / 329.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3746, allocations: 5.188 kB / 329.7 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.3747, allocations: 7.875 kB / 329.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3747, allocations: 0 / 329.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.3749, allocations: 195.7 kB / 329.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3749, allocations: 0 / 329.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.375, allocations: 21.28 kB / 329.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.375, allocations: 1.469 kB / 329.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3751, allocations: 0 / 329.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3751, allocations: 1 kB / 329.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.3751, allocations: 3.938 kB / 329.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.3754, allocations: 197.8 kB / 330.1 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.3755, allocations: 86.14 kB / 330.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3755, allocations: 1.344 kB / 330.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3756, allocations: 14.42 kB / 330.2 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.3756, allocations: 9.969 kB / 330.2 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3757, allocations: 9.031 kB / 330.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.3757, allocations: 94.67 kB / 330.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3757, allocations: 0 / 330.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.376, allocations: 9.094 kB / 330.3 MB, free: 13.11 MB / 270.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 (6): * Single equations (assignments): 6 * 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.0001271/0.3761, allocations: 96.69 kB / 330.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.3764, allocations: 69.41 kB / 330.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3764, allocations: 5.156 kB / 330.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.3765, allocations: 32.92 kB / 330.5 MB, free: 12.97 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3768, allocations: 11.45 kB / 330.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.3773, allocations: 212.4 kB / 330.8 MB, free: 12.78 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3777, allocations: 0.69 MB / 331.5 MB, free: 12.08 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.211e-05/0.3777, allocations: 7.5 kB / 331.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.3778, allocations: 9.875 kB / 331.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3778, allocations: 0 / 331.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of Templates: time 0.003105/0.3809, allocations: 0.7237 MB / 332.2 MB, free: 11.7 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)