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.001567/0.001577, allocations: 107.6 kB / 17.06 MB, free: 6.023 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.001833/0.001834, allocations: 191 kB / 18 MB, free: 5.105 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.747/1.747, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.00126/0.001261, allocations: 51.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00298/0.1179, allocations: 1.564 MB / 376 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.119, allocations: 0.5656 MB / 376.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.1191, allocations: 0 / 376.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.1191, allocations: 11.86 kB / 376.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.279e-05/0.1192, allocations: 7.938 kB / 376.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.1195, allocations: 47.83 kB / 376.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1196, allocations: 47.91 kB / 376.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1198, allocations: 19.92 kB / 376.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.1198, allocations: 23.88 kB / 376.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.1199, allocations: 23.84 kB / 376.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.12, allocations: 12 kB / 376.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.1202, allocations: 43.89 kB / 376.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.1202, allocations: 19.92 kB / 376.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.1202, allocations: 23.81 kB / 376.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1204, allocations: 83.7 kB / 377 MB, free: 2.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1205, allocations: 0 / 377 MB, free: 2.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1205, allocations: 0 / 377 MB, free: 2.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1205, allocations: 0 / 377 MB, free: 2.074 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.0005976/0.1211, allocations: 383.2 kB / 377.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1211, allocations: 8.031 kB / 377.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.1215, allocations: 44.8 kB / 377.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1217, allocations: 176.2 kB / 377.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.1218, allocations: 8.375 kB / 377.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.1218, allocations: 8.359 kB / 377.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.1221, allocations: 97.89 kB / 377.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1221, allocations: 7.938 kB / 377.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1221, allocations: 0 / 377.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1221, allocations: 0 / 377.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1223, allocations: 71.94 kB / 377.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.1231, allocations: 344.6 kB / 378.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.1233, allocations: 74.55 kB / 378.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1234, allocations: 36.95 kB / 378.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1234, allocations: 0 / 378.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1235, allocations: 30.56 kB / 378.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1235, allocations: 0 / 378.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004392/0.1239, allocations: 129.5 kB / 378.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.124, allocations: 51.41 kB / 378.4 MB, free: 464 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1241, allocations: 122 kB / 378.5 MB, free: 332 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1241, allocations: 33.69 kB / 378.6 MB, free: 292 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.1242, allocations: 95.98 kB / 378.7 MB, free: 192 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.1242, allocations: 19.8 kB / 378.7 MB, free: 172 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.1243, allocations: 17.72 kB / 378.7 MB, free: 148 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2318/0.356, allocations: 315.5 kB / 379 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.3563, allocations: 24.25 kB / 379 MB, free: 12.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3564, allocations: 26.56 kB / 379.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.3566, allocations: 55.77 kB / 379.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3567, allocations: 2.078 kB / 379.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003205/0.357, allocations: 100.9 kB / 379.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.357, allocations: 6.281 kB / 379.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.357, allocations: 0 / 379.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3571, allocations: 0 / 379.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.3572, allocations: 21.44 kB / 379.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3573, allocations: 3.75 kB / 379.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.397e-05/0.3574, allocations: 18.73 kB / 379.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3574, allocations: 3.406 kB / 379.3 MB, free: 12.76 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 0.0001006/0.3575, allocations: 112.3 kB / 379.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.3575, allocations: 10.2 kB / 379.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.3579, allocations: 110.2 kB / 379.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3579, allocations: 1.438 kB / 379.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.3579, allocations: 3.75 kB / 379.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3579, allocations: 3.094 kB / 379.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.3581, allocations: 191.4 kB / 379.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3581, allocations: 0 / 379.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3583, allocations: 22.31 kB / 379.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3583, allocations: 1.734 kB / 379.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3583, allocations: 0.5625 kB / 379.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3583, allocations: 7.969 kB / 379.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3583, allocations: 1.578 kB / 379.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3586, allocations: 190.3 kB / 379.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.3586, allocations: 85.42 kB / 380 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3587, allocations: 1.453 kB / 380 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3588, allocations: 17.3 kB / 380 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.3588, allocations: 6.438 kB / 380 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.3588, allocations: 3.688 kB / 380 MB, free: 12.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.3589, allocations: 94.92 kB / 380.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3589, allocations: 0 / 380.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.3591, allocations: 16.83 kB / 380.1 MB, free: 12.12 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.0001217/0.3593, allocations: 95.72 kB / 380.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.3596, allocations: 74.84 kB / 380.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3596, allocations: 0.8438 kB / 380.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3597, allocations: 38.47 kB / 380.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3601, allocations: 4.75 kB / 380.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.3607, allocations: 195.9 kB / 380.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.3609, allocations: 0.6907 MB / 381.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.361, allocations: 9.891 kB / 381.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.361, allocations: 14.8 kB / 381.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.361, allocations: 0 / 381.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.003999/0.365, allocations: 0.7908 MB / 382 MB, free: 11.15 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)