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.001755/0.001755, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 196.6 kB / 16.53 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.632/1.632, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.002004/0.002004, allocations: 55.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003031/0.3196, allocations: 1.566 MB / 326.9 MB, free: 0.6211 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009584/0.3206, allocations: 0.5611 MB / 327.4 MB, free: 188 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.3206, allocations: 2.812 kB / 327.4 MB, free: 188 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/0.3207, allocations: 7.875 kB / 327.4 MB, free: 180 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.3208, allocations: 19.84 kB / 327.5 MB, free: 160 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3211, allocations: 34.75 kB / 327.5 MB, free: 136 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.3212, allocations: 52.58 kB / 327.5 MB, free: 104 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3213, allocations: 24.47 kB / 327.6 MB, free: 88 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.226e-05/0.3214, allocations: 26.89 kB / 327.6 MB, free: 68 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.3214, allocations: 21.11 kB / 327.6 MB, free: 52 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3215, allocations: 5.594 kB / 327.6 MB, free: 52 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.3217, allocations: 42.59 kB / 327.7 MB, free: 32 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.3217, allocations: 26.03 kB / 327.7 MB, free: 8 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.3218, allocations: 25.42 kB / 327.7 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.322, allocations: 76.25 kB / 327.8 MB, free: 15.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.322, allocations: 1.375 kB / 327.8 MB, free: 15.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.322, allocations: 0 / 327.8 MB, free: 15.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.322, allocations: 0 / 327.8 MB, free: 15.93 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.0005555/0.3226, allocations: 380.6 kB / 328.2 MB, free: 15.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3226, allocations: 13.78 kB / 328.2 MB, free: 15.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.323, allocations: 42.83 kB / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3232, allocations: 168.1 kB / 328.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.3232, allocations: 7.156 kB / 328.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3232, allocations: 5.25 kB / 328.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.3235, allocations: 92.92 kB / 328.5 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3235, allocations: 0 / 328.5 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3235, allocations: 5.375 kB / 328.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3236, allocations: 2.219 kB / 328.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.3238, allocations: 68.53 kB / 328.6 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.3244, allocations: 357.8 kB / 328.9 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.3247, allocations: 70.88 kB / 329 MB, free: 14.81 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.3249, allocations: 31.34 kB / 329 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3249, allocations: 7.938 kB / 329 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3249, allocations: 32 kB / 329.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3249, allocations: 4 kB / 329.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004387/0.3254, allocations: 122.7 kB / 329.2 MB, free: 14.67 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3254, allocations: 51.41 kB / 329.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3255, allocations: 126.6 kB / 329.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3256, allocations: 30.73 kB / 329.4 MB, free: 14.46 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.3256, allocations: 99.66 kB / 329.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.3257, allocations: 18.22 kB / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.3257, allocations: 13.47 kB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3258, allocations: 320.1 kB / 329.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/0.3259, allocations: 22.95 kB / 329.8 MB, free: 14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.371e-05/0.326, allocations: 31.59 kB / 329.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3262, allocations: 58.33 kB / 329.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3262, allocations: 1.219 kB / 329.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002409/0.3265, allocations: 98.73 kB / 330 MB, free: 13.89 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3265, allocations: 5.469 kB / 330 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3265, allocations: 448 / 330 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3265, allocations: 1.188 kB / 330 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3267, allocations: 16.55 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3267, allocations: 3.938 kB / 330.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.3268, allocations: 19.83 kB / 330.1 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3268, allocations: 1.062 kB / 330.1 MB, free: 13.87 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 0.0001104/0.3269, allocations: 112.9 kB / 330.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.327, allocations: 10.48 kB / 330.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.3273, allocations: 117 kB / 330.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3273, allocations: 1.188 kB / 330.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3273, allocations: 3.938 kB / 330.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3273, allocations: 0 / 330.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.3276, allocations: 191.1 kB / 330.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3276, allocations: 0 / 330.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3277, allocations: 17.83 kB / 330.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3277, allocations: 1.406 kB / 330.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3277, allocations: 4 kB / 330.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3277, allocations: 1.375 kB / 330.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3277, allocations: 3.938 kB / 330.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.3281, allocations: 205.4 kB / 330.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.3282, allocations: 82.23 kB / 330.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3282, allocations: 1.25 kB / 330.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3283, allocations: 9.703 kB / 330.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.3284, allocations: 10.36 kB / 330.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3284, allocations: 6.312 kB / 330.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.84e-05/0.3285, allocations: 102.5 kB / 330.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3285, allocations: 0 / 330.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000223/0.3287, allocations: 9.344 kB / 330.9 MB, free: 13.04 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.0001182/0.3288, allocations: 95.56 kB / 331 MB, free: 12.95 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.3291, allocations: 69.98 kB / 331.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3291, allocations: 5.031 kB / 331.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3293, allocations: 33.19 kB / 331.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3296, allocations: 11.7 kB / 331.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.3301, allocations: 193.4 kB / 331.3 MB, free: 12.74 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3304, allocations: 0.6897 MB / 332 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.3305, allocations: 15.41 kB / 332 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.3305, allocations: 14.53 kB / 332.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3305, allocations: 0 / 332.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of Templates: time 0.003565/0.3341, allocations: 0.7656 MB / 332.8 MB, free: 11.62 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)