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.001517/0.001516, allocations: 109.7 kB / 16.51 MB, free: 6.707 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.001392/0.001392, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.767/1.767, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001186/0.001186, allocations: 43.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1264, allocations: 46.62 MB / 325.9 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003434/0.1298, allocations: 1.64 MB / 327.6 MB, free: 3.246 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.131, allocations: 0.5666 MB / 328.2 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.1311, allocations: 0 / 328.2 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/0.1312, allocations: 3.938 kB / 328.2 MB, free: 2.668 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1313, allocations: 7.938 kB / 328.2 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1316, allocations: 35.91 kB / 328.2 MB, free: 2.625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1317, allocations: 55.83 kB / 328.3 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1319, allocations: 16 kB / 328.3 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/0.1319, allocations: 15.92 kB / 328.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.569e-05/0.132, allocations: 27.86 kB / 328.3 MB, free: 2.512 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.132, allocations: 4 kB / 328.3 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.1322, allocations: 47.89 kB / 328.4 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.1323, allocations: 11.92 kB / 328.4 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.1323, allocations: 27.81 kB / 328.4 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1325, allocations: 71.77 kB / 328.5 MB, free: 2.352 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1325, allocations: 0 / 328.5 MB, free: 2.352 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1325, allocations: 0 / 328.5 MB, free: 2.352 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1325, allocations: 0 / 328.5 MB, free: 2.352 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.00057/0.1331, allocations: 387.5 kB / 328.9 MB, free: 1.926 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1331, allocations: 8.031 kB / 328.9 MB, free: 1.918 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/0.1336, allocations: 44.8 kB / 328.9 MB, free: 1.875 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1337, allocations: 172.2 kB / 329.1 MB, free: 1.668 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.1338, allocations: 16.25 kB / 329.1 MB, free: 1.652 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1338, allocations: 8.375 kB / 329.1 MB, free: 1.645 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.134, allocations: 89.95 kB / 329.2 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.134, allocations: 4 kB / 329.2 MB, free: 1.547 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1341, allocations: 0 / 329.2 MB, free: 1.547 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1341, allocations: 0 / 329.2 MB, free: 1.547 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.1343, allocations: 67.94 kB / 329.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.135, allocations: 356.5 kB / 329.6 MB, free: 1.082 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.1353, allocations: 70.53 kB / 329.7 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1354, allocations: 32.91 kB / 329.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1354, allocations: 0 / 329.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.402e-05/0.1355, allocations: 42.5 kB / 329.7 MB, free: 0.918 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.502e-06/0.1355, allocations: 0 / 329.7 MB, free: 0.918 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004771/0.136, allocations: 117.6 kB / 329.9 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.1361, allocations: 51.41 kB / 329.9 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1362, allocations: 126 kB / 330 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1362, allocations: 25.7 kB / 330.1 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.1363, allocations: 104 kB / 330.2 MB, free: 476 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.1364, allocations: 19.7 kB / 330.2 MB, free: 456 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.1364, allocations: 17.72 kB / 330.2 MB, free: 432 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1366, allocations: 318.8 kB / 330.5 MB, free: 104 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1367, allocations: 23.98 kB / 330.5 MB, free: 80 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.945e-05/0.1368, allocations: 27.97 kB / 330.6 MB, free: 52 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.137, allocations: 60.81 kB / 330.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.137, allocations: 0 / 330.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002266/0.1373, allocations: 93.59 kB / 330.7 MB, free: 15.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1373, allocations: 4 kB / 330.7 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1373, allocations: 0 / 330.7 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1373, allocations: 0 / 330.7 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1375, allocations: 19.98 kB / 330.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1375, allocations: 7.938 kB / 330.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.1376, allocations: 24.27 kB / 330.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1376, allocations: 0 / 330.8 MB, free: 15.84 MB / 286.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.0001097/0.1377, allocations: 117.8 kB / 330.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1377, allocations: 0 / 330.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.1381, allocations: 117.6 kB / 331 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1381, allocations: 3.938 kB / 331 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.1381, allocations: 3.938 kB / 331 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1381, allocations: 4 kB / 331 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1383, allocations: 193.5 kB / 331.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1384, allocations: 0 / 331.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1385, allocations: 15.98 kB / 331.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.1385, allocations: 4 kB / 331.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1385, allocations: 0 / 331.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1385, allocations: 0 / 331.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1385, allocations: 7.938 kB / 331.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1388, allocations: 191.4 kB / 331.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.1389, allocations: 85.02 kB / 331.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1389, allocations: 4 kB / 331.5 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.139, allocations: 11.98 kB / 331.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.1391, allocations: 11.92 kB / 331.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1391, allocations: 7.938 kB / 331.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.977e-05/0.1391, allocations: 95.77 kB / 331.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1392, allocations: 0 / 331.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.1394, allocations: 16 kB / 331.6 MB, free: 14.86 MB / 286.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.0001422/0.1395, allocations: 91.25 kB / 331.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.1398, allocations: 67.89 kB / 331.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1398, allocations: 0 / 331.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.1399, allocations: 39.97 kB / 331.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1403, allocations: 4 kB / 331.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.1408, allocations: 227 kB / 332.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1411, allocations: 0.6926 MB / 332.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.1412, allocations: 8 kB / 332.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.1413, allocations: 15.42 kB / 332.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1413, allocations: 0 / 332.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of Templates: time 0.003251/0.1445, allocations: 0.7146 MB / 333.5 MB, free: 12.96 MB / 286.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)