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.00159/0.00159, 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.001905/0.001905, allocations: 194.3 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.613/1.613, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001307/0.001307, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3046, allocations: 46.63 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003176/0.3079, allocations: 1.562 MB / 326.9 MB, free: 0.6055 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.309, allocations: 0.5647 MB / 327.4 MB, free: 168 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.3091, allocations: 1.312 kB / 327.4 MB, free: 168 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.876e-05/0.3091, allocations: 7.922 kB / 327.4 MB, free: 160 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.193e-05/0.3092, allocations: 8.656 kB / 327.5 MB, free: 152 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.3095, allocations: 44.12 kB / 327.5 MB, free: 120 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3096, allocations: 52.47 kB / 327.5 MB, free: 88 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3098, allocations: 24.88 kB / 327.6 MB, free: 72 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.3098, allocations: 22.77 kB / 327.6 MB, free: 56 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.3099, allocations: 29.61 kB / 327.6 MB, free: 32 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3099, allocations: 4.25 kB / 327.6 MB, free: 32 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3101, allocations: 47.27 kB / 327.7 MB, free: 8 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.3102, allocations: 13.66 kB / 327.7 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.3103, allocations: 28.98 kB / 327.7 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3105, allocations: 77.69 kB / 327.8 MB, free: 15.92 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3105, allocations: 0 / 327.8 MB, free: 15.92 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3105, allocations: 0 / 327.8 MB, free: 15.92 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3105, allocations: 0 / 327.8 MB, free: 15.92 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.0006211/0.3111, allocations: 381.4 kB / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3112, allocations: 8.875 kB / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.3116, allocations: 48.11 kB / 328.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3118, allocations: 180.1 kB / 328.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.3118, allocations: 6.594 kB / 328.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3118, allocations: 3.656 kB / 328.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3121, allocations: 90.14 kB / 328.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3121, allocations: 1.062 kB / 328.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3121, allocations: 0 / 328.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.3121, allocations: 2.125 kB / 328.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.3124, allocations: 64.92 kB / 328.6 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.313, allocations: 357.7 kB / 328.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3133, allocations: 79 kB / 329 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3134, allocations: 34.52 kB / 329 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.3134, allocations: 4.969 kB / 329 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3134, allocations: 31.62 kB / 329.1 MB, free: 14.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3134, allocations: 0 / 329.1 MB, free: 14.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.000456/0.3139, allocations: 118.7 kB / 329.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.314, allocations: 56.7 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3141, allocations: 125.7 kB / 329.4 MB, free: 14.47 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3141, allocations: 26.45 kB / 329.4 MB, free: 14.44 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.3142, allocations: 103.3 kB / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.3142, allocations: 10.22 kB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.3143, allocations: 29.64 kB / 329.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3144, allocations: 316 kB / 329.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-05/0.3145, allocations: 27.88 kB / 329.9 MB, free: 13.97 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.745e-05/0.3146, allocations: 23.02 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3148, allocations: 58.88 kB / 329.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3148, allocations: 4 kB / 329.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002627/0.3151, allocations: 95.69 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3151, allocations: 5.094 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3151, allocations: 1.562 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3152, allocations: 0 / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.3153, allocations: 20.52 kB / 330.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3153, allocations: 5.406 kB / 330.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.3154, allocations: 17.8 kB / 330.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3154, allocations: 1.5 kB / 330.1 MB, free: 13.84 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.0001036/0.3156, allocations: 116.9 kB / 330.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.3156, allocations: 6.688 kB / 330.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.3159, allocations: 101.4 kB / 330.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.316, allocations: 1.125 kB / 330.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.316, allocations: 7.938 kB / 330.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.316, allocations: 3.984 kB / 330.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.3162, allocations: 191.1 kB / 330.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3162, allocations: 1.188 kB / 330.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3163, allocations: 25.61 kB / 330.5 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.3163, allocations: 3.984 kB / 330.5 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3164, allocations: 5.234 kB / 330.5 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3164, allocations: 0 / 330.5 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.3164, allocations: 3.938 kB / 330.5 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.3167, allocations: 197.1 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.3168, allocations: 87.22 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3168, allocations: 4.938 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3169, allocations: 7.031 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3169, allocations: 8.922 kB / 330.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.317, allocations: 2.25 kB / 330.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.275e-05/0.317, allocations: 101.5 kB / 330.9 MB, free: 13.02 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.317, allocations: 1.125 kB / 330.9 MB, free: 13.02 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.3173, allocations: 13 kB / 331 MB, free: 13.02 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.0001019/0.3174, allocations: 96.28 kB / 331 MB, free: 12.93 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.3176, allocations: 70.25 kB / 331.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3176, allocations: 0 / 331.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3178, allocations: 41.89 kB / 331.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3181, allocations: 6.406 kB / 331.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.3186, allocations: 186 kB / 331.3 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3189, allocations: 0.6937 MB / 332 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.3189, allocations: 7.453 kB / 332 MB, free: 12.01 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.319, allocations: 14.81 kB / 332.1 MB, free: 12 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.319, allocations: 0 / 332.1 MB, free: 12 MB / 270.1 MB Notification: Performance of Templates: time 0.003533/0.3225, allocations: 0.7615 MB / 332.8 MB, free: 11.62 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)