Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.0008206/0.0008205, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009487/0.0009489, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0004712/0.0004713, allocations: 10.66 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3562, allocations: 47.58 MB / 326.5 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.001688/0.3579, allocations: 1.274 MB / 327.7 MB, free: 364 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.3589, allocations: 0.5278 MB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.359, allocations: 1.031 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.359, allocations: 5.094 kB / 328.3 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.3591, allocations: 5.188 kB / 328.3 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.3593, allocations: 36.89 kB / 328.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.876e-05/0.3594, allocations: 50.16 kB / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3595, allocations: 11.22 kB / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.3595, allocations: 17.56 kB / 328.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.3596, allocations: 21.8 kB / 328.4 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3596, allocations: 2.375 kB / 328.4 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.3598, allocations: 44.31 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.3598, allocations: 8.984 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.3599, allocations: 36.11 kB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.36, allocations: 52.19 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.36, allocations: 1.188 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.36, allocations: 0 / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.36, allocations: 0 / 328.6 MB, free: 15.74 MB / 270.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.0004577/0.3605, allocations: 369.4 kB / 328.9 MB, free: 15.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3606, allocations: 9.312 kB / 328.9 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.361, allocations: 52.17 kB / 329 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.3611, allocations: 170.3 kB / 329.1 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.3612, allocations: 15.23 kB / 329.2 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3612, allocations: 4.156 kB / 329.2 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.3615, allocations: 103.5 kB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3615, allocations: 0 / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3615, allocations: 0 / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3615, allocations: 2.031 kB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.3618, allocations: 83.34 kB / 329.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.3624, allocations: 358 kB / 329.7 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.3626, allocations: 87.67 kB / 329.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.3627, allocations: 35.59 kB / 329.8 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.3628, allocations: 4 kB / 329.8 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3628, allocations: 35.66 kB / 329.9 MB, free: 14.55 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3628, allocations: 1.281 kB / 329.9 MB, free: 14.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004324/0.3632, allocations: 137.4 kB / 330 MB, free: 14.47 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3633, allocations: 56.77 kB / 330.1 MB, free: 14.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3634, allocations: 122.5 kB / 330.2 MB, free: 14.29 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3634, allocations: 25.7 kB / 330.2 MB, free: 14.26 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.3635, allocations: 99.42 kB / 330.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.3635, allocations: 17.83 kB / 330.3 MB, free: 14.15 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.3636, allocations: 9.094 kB / 330.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3637, allocations: 311.9 kB / 330.6 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3638, allocations: 36.19 kB / 330.7 MB, free: 13.81 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.284e-05/0.3639, allocations: 28.7 kB / 330.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.364, allocations: 36.25 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.364, allocations: 1.219 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002672/0.3643, allocations: 105.4 kB / 330.8 MB, free: 13.73 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3643, allocations: 5.156 kB / 330.8 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.3643, allocations: 0.9688 kB / 330.8 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.3644, allocations: 0 / 330.8 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3645, allocations: 24.08 kB / 330.9 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3645, allocations: 1.062 kB / 330.9 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.327e-05/0.3646, allocations: 21.41 kB / 330.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.3646, allocations: 9.188 kB / 330.9 MB, free: 13.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.3647, allocations: 112.7 kB / 331 MB, free: 13.58 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3648, allocations: 2.75 kB / 331 MB, free: 13.58 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.3651, allocations: 124.3 kB / 331.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3652, allocations: 1.438 kB / 331.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3652, allocations: 0 / 331.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3652, allocations: 0 / 331.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.3654, allocations: 211.1 kB / 331.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3654, allocations: 0 / 331.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3656, allocations: 21.08 kB / 331.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3656, allocations: 4 kB / 331.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3656, allocations: 0.9062 kB / 331.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3656, allocations: 4.891 kB / 331.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3656, allocations: 0 / 331.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.3659, allocations: 209.3 kB / 331.6 MB, free: 13.08 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.366, allocations: 82.48 kB / 331.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.366, allocations: 5.406 kB / 331.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3661, allocations: 15.86 kB / 331.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.3662, allocations: 6.953 kB / 331.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3662, allocations: 1.438 kB / 331.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.704e-05/0.3663, allocations: 97.02 kB / 331.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3663, allocations: 4 kB / 331.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.3665, allocations: 9.469 kB / 331.8 MB, free: 12.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001488/0.3667, allocations: 92.47 kB / 331.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.367, allocations: 75.64 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.367, allocations: 0.875 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3671, allocations: 46.66 kB / 332 MB, free: 12.75 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3675, allocations: 7.203 kB / 332 MB, free: 12.74 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.3681, allocations: 222.9 kB / 332.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.3685, allocations: 0.6944 MB / 332.9 MB, free: 11.85 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.564e-05/0.3685, allocations: 3.562 kB / 332.9 MB, free: 11.85 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.3686, allocations: 14.7 kB / 332.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3686, allocations: 0 / 332.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of Templates: time 0.003637/0.3722, allocations: 0.6904 MB / 333.6 MB, free: 11.48 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)