Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00133/0.00133, allocations: 111.6 kB / 17.06 MB, free: 6 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.001351/0.001351, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.815/1.815, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001272/0.001272, allocations: 43.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.004331/0.1077, allocations: 1.571 MB / 376.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1091, allocations: 0.5617 MB / 376.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.185e-05/0.1093, allocations: 4 kB / 376.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.42e-05/0.1094, allocations: 7.922 kB / 376.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.1095, allocations: 11.88 kB / 376.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.1099, allocations: 47.83 kB / 376.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.11, allocations: 47.91 kB / 376.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.1102, allocations: 19.98 kB / 376.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.1103, allocations: 19.88 kB / 376.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1104, allocations: 35.77 kB / 376.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1104, allocations: 8 kB / 376.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.1107, allocations: 39.97 kB / 376.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.1107, allocations: 15.88 kB / 376.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.1108, allocations: 27.8 kB / 376.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1111, allocations: 75.77 kB / 377 MB, free: 2.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1111, allocations: 4 kB / 377 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.035e-06/0.1111, allocations: 0 / 377 MB, free: 2.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.1111, allocations: 3.938 kB / 377 MB, free: 2.055 MB / 318.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.0008363/0.112, allocations: 383.2 kB / 377.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.112, allocations: 8.031 kB / 377.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.1125, allocations: 48.78 kB / 377.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1127, allocations: 176.2 kB / 377.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.1127, allocations: 4.312 kB / 377.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1128, allocations: 12.36 kB / 377.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.113, allocations: 89.95 kB / 377.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.113, allocations: 4 kB / 377.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1131, allocations: 8 kB / 377.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1131, allocations: 0 / 377.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.1133, allocations: 63.89 kB / 377.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.1141, allocations: 348.7 kB / 378.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1143, allocations: 78.48 kB / 378.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1144, allocations: 36.95 kB / 378.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1144, allocations: 0 / 378.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.1145, allocations: 34.56 kB / 378.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1145, allocations: 0 / 378.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004581/0.115, allocations: 129.5 kB / 378.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.115, allocations: 55.41 kB / 378.4 MB, free: 436 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1152, allocations: 122 kB / 378.5 MB, free: 304 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.1152, allocations: 25.7 kB / 378.6 MB, free: 272 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.1153, allocations: 104 kB / 378.7 MB, free: 164 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.1154, allocations: 7.812 kB / 378.7 MB, free: 156 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.1154, allocations: 25.7 kB / 378.7 MB, free: 124 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.3191/0.4346, allocations: 315.3 kB / 379 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.4349, allocations: 24.75 kB / 379 MB, free: 12.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.435, allocations: 28.23 kB / 379.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.4352, allocations: 53.06 kB / 379.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4352, allocations: 3.812 kB / 379.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000289/0.4355, allocations: 97.73 kB / 379.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.4355, allocations: 5.125 kB / 379.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4355, allocations: 0 / 379.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.4356, allocations: 1.312 kB / 379.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.4357, allocations: 19.69 kB / 379.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4358, allocations: 6.484 kB / 379.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.4359, allocations: 15.11 kB / 379.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4359, allocations: 2.812 kB / 379.3 MB, free: 12.78 MB / 318.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.04e-05/0.436, allocations: 114.1 kB / 379.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.436, allocations: 6.688 kB / 379.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.4363, allocations: 111.5 kB / 379.5 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4364, allocations: 3 kB / 379.5 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4364, allocations: 6 kB / 379.5 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4364, allocations: 0.9844 kB / 379.5 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.4366, allocations: 191.7 kB / 379.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4366, allocations: 0 / 379.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.4367, allocations: 19 kB / 379.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4367, allocations: 2.375 kB / 379.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4368, allocations: 1.875 kB / 379.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4368, allocations: 9.031 kB / 379.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4368, allocations: 0 / 379.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.437, allocations: 196.3 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.4371, allocations: 81.61 kB / 380 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.4371, allocations: 6.578 kB / 380 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4372, allocations: 13.41 kB / 380 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.4373, allocations: 7.312 kB / 380 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4373, allocations: 3.016 kB / 380 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.247e-05/0.4373, allocations: 94.88 kB / 380.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.242e-06/0.4373, allocations: 2.812 kB / 380.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.4376, allocations: 17.61 kB / 380.1 MB, free: 12.14 MB / 318.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.0001219/0.4377, allocations: 94.86 kB / 380.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.438, allocations: 68.75 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.438, allocations: 0 / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.4381, allocations: 40.58 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.4385, allocations: 4.203 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.439, allocations: 201.6 kB / 380.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.4392, allocations: 0.6901 MB / 381.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.878e-05/0.4392, allocations: 8.984 kB / 381.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.4393, allocations: 12.31 kB / 381.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4393, allocations: 0 / 381.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of Templates: time 0.00402/0.4433, allocations: 0.7834 MB / 382 MB, free: 11.18 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)