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.001464/0.001464, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001837/0.001837, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001247/0.001248, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 46.63 MB / 324.8 MB, free: 1.961 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003566/0.3698, allocations: 1.627 MB / 326.5 MB, free: 0.6797 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3709, allocations: 0.5571 MB / 327 MB, free: 252 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.371, allocations: 1.25 kB / 327 MB, free: 252 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 5.169e-05/0.3711, allocations: 7.922 kB / 327 MB, free: 244 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/0.3711, allocations: 9.422 kB / 327 MB, free: 236 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3714, allocations: 31.77 kB / 327.1 MB, free: 216 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3715, allocations: 52.03 kB / 327.1 MB, free: 184 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3717, allocations: 28.97 kB / 327.2 MB, free: 164 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.3717, allocations: 18.5 kB / 327.2 MB, free: 152 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.3718, allocations: 29.84 kB / 327.2 MB, free: 128 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3718, allocations: 5.5 kB / 327.2 MB, free: 128 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.372, allocations: 41.91 kB / 327.3 MB, free: 108 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.3721, allocations: 10.09 kB / 327.3 MB, free: 100 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.3721, allocations: 33.47 kB / 327.3 MB, free: 72 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.3723, allocations: 76.27 kB / 327.4 MB, free: 16 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3723, allocations: 1.469 kB / 327.4 MB, free: 16 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3723, allocations: 0 / 327.4 MB, free: 16 kB / 254.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3724, allocations: 4 kB / 327.4 MB, free: 12 kB / 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.000639/0.373, allocations: 380.2 kB / 327.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.3731, allocations: 13.53 kB / 327.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004237/0.3735, allocations: 47.33 kB / 327.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.3737, allocations: 177 kB / 328 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.3737, allocations: 7.281 kB / 328 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3738, allocations: 3.031 kB / 328 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.3741, allocations: 93.98 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3741, allocations: 1.375 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.3741, allocations: 0 / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3741, allocations: 1.312 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.3744, allocations: 64.95 kB / 328.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.3751, allocations: 355.4 kB / 328.5 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.3753, allocations: 74.28 kB / 328.6 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3754, allocations: 36.92 kB / 328.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3755, allocations: 9.047 kB / 328.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.3755, allocations: 35.72 kB / 328.6 MB, free: 14.81 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3755, allocations: 0 / 328.6 MB, free: 14.81 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004561/0.376, allocations: 118.1 kB / 328.8 MB, free: 14.74 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.376, allocations: 56.47 kB / 328.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3762, allocations: 126.8 kB / 328.9 MB, free: 14.56 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3762, allocations: 25.7 kB / 329 MB, free: 14.53 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.3763, allocations: 104 kB / 329.1 MB, free: 14.43 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3763, allocations: 9.219 kB / 329.1 MB, free: 14.42 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.3764, allocations: 21.89 kB / 329.1 MB, free: 14.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3765, allocations: 317.2 kB / 329.4 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.3766, allocations: 25.97 kB / 329.4 MB, free: 14.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.3767, allocations: 28.3 kB / 329.5 MB, free: 14.05 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3769, allocations: 58.03 kB / 329.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3769, allocations: 1.5 kB / 329.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002463/0.3771, allocations: 95.31 kB / 329.6 MB, free: 13.96 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3772, allocations: 4.812 kB / 329.6 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3772, allocations: 0 / 329.6 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3772, allocations: 5.188 kB / 329.6 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.3773, allocations: 20.59 kB / 329.6 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3774, allocations: 3.938 kB / 329.6 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.3775, allocations: 11.72 kB / 329.7 MB, free: 13.94 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3775, allocations: 5.172 kB / 329.7 MB, free: 13.94 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 9.473e-05/0.3776, allocations: 112.7 kB / 329.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.3776, allocations: 7.406 kB / 329.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.3779, allocations: 108.3 kB / 329.9 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3779, allocations: 5.078 kB / 329.9 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.378, allocations: 4.438 kB / 329.9 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.378, allocations: 0 / 329.9 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.3782, allocations: 194.8 kB / 330.1 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3783, allocations: 5.438 kB / 330.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3784, allocations: 20.69 kB / 330.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3784, allocations: 5.125 kB / 330.1 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3784, allocations: 0 / 330.1 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3784, allocations: 1.156 kB / 330.1 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3784, allocations: 7.875 kB / 330.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.3788, allocations: 190 kB / 330.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.3788, allocations: 86.34 kB / 330.4 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3789, allocations: 8.875 kB / 330.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.379, allocations: 10.61 kB / 330.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.379, allocations: 13.95 kB / 330.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.379, allocations: 1.125 kB / 330.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.408e-05/0.3791, allocations: 98.8 kB / 330.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3791, allocations: 0 / 330.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000228/0.3793, allocations: 13.97 kB / 330.5 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.0001403/0.3795, allocations: 91.5 kB / 330.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.3798, allocations: 70 kB / 330.7 MB, free: 12.99 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3798, allocations: 1.125 kB / 330.7 MB, free: 12.99 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3799, allocations: 37.48 kB / 330.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3803, allocations: 10.61 kB / 330.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.3808, allocations: 217 kB / 331 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.3813, allocations: 0.6887 MB / 331.6 MB, free: 12.08 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.3814, allocations: 11.48 kB / 331.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.3814, allocations: 14.91 kB / 331.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3814, allocations: 0 / 331.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of Templates: time 0.003297/0.3847, allocations: 0.7446 MB / 332.4 MB, free: 11.68 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)