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.001325/0.001325, allocations: 110.3 kB / 16.62 MB, free: 6.812 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.001475/0.001476, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.583/1.583, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001537/0.001537, allocations: 52.39 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1317, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00365/0.1354, allocations: 1.632 MB / 327.8 MB, free: 3.148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1368, allocations: 0.5548 MB / 328.3 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.1369, allocations: 4 kB / 328.3 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.241e-05/0.1369, allocations: 7.922 kB / 328.3 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.1371, allocations: 11.92 kB / 328.3 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1373, allocations: 31.92 kB / 328.4 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1374, allocations: 47.91 kB / 328.4 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1376, allocations: 27.91 kB / 328.5 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.1377, allocations: 15.94 kB / 328.5 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.1377, allocations: 23.86 kB / 328.5 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1378, allocations: 12 kB / 328.5 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.138, allocations: 47.89 kB / 328.5 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.138, allocations: 11.94 kB / 328.6 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.138, allocations: 31.78 kB / 328.6 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1382, allocations: 75.77 kB / 328.7 MB, free: 2.242 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1382, allocations: 4 kB / 328.7 MB, free: 2.238 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1382, allocations: 0 / 328.7 MB, free: 2.238 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1383, allocations: 0 / 328.7 MB, free: 2.238 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.0005507/0.1388, allocations: 375.5 kB / 329 MB, free: 1.824 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1389, allocations: 12.03 kB / 329 MB, free: 1.812 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004304/0.1393, allocations: 44.8 kB / 329.1 MB, free: 1.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1395, allocations: 176.2 kB / 329.3 MB, free: 1.559 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1395, allocations: 8.312 kB / 329.3 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1395, allocations: 8.375 kB / 329.3 MB, free: 1.543 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.1398, allocations: 93.89 kB / 329.4 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1398, allocations: 0 / 329.4 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1398, allocations: 8 kB / 329.4 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1398, allocations: 0 / 329.4 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.14, allocations: 63.94 kB / 329.4 MB, free: 1.375 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.1407, allocations: 356.5 kB / 329.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1409, allocations: 70.47 kB / 329.9 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.141, allocations: 36.95 kB / 329.9 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.141, allocations: 3.984 kB / 329.9 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.141, allocations: 30.56 kB / 329.9 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.141, allocations: 4 kB / 329.9 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004383/0.1415, allocations: 121.6 kB / 330.1 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1415, allocations: 55.39 kB / 330.1 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1417, allocations: 126 kB / 330.2 MB, free: 500 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1417, allocations: 25.7 kB / 330.3 MB, free: 468 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.1418, allocations: 104 kB / 330.4 MB, free: 360 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1418, allocations: 15.72 kB / 330.4 MB, free: 344 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1418, allocations: 21.7 kB / 330.4 MB, free: 316 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.142, allocations: 318.8 kB / 330.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.1421, allocations: 27.97 kB / 330.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.1422, allocations: 19.98 kB / 330.7 MB, free: 15.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1424, allocations: 73.12 kB / 330.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1424, allocations: 0 / 330.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00022/0.1426, allocations: 89.66 kB / 330.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1426, allocations: 4 kB / 330.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1426, allocations: 0 / 330.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1427, allocations: 0 / 330.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1428, allocations: 15.98 kB / 330.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.1428, allocations: 3.938 kB / 330.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.1429, allocations: 27.83 kB / 331 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.143, allocations: 4 kB / 331 MB, free: 15.72 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.0001209/0.1431, allocations: 109.8 kB / 331.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.1431, allocations: 4 kB / 331.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.1434, allocations: 113.5 kB / 331.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1434, allocations: 0 / 331.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.1435, allocations: 3.938 kB / 331.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1435, allocations: 3.984 kB / 331.2 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.1437, allocations: 193.5 kB / 331.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1437, allocations: 0 / 331.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1438, allocations: 15.98 kB / 331.4 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1438, allocations: 3.938 kB / 331.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1438, allocations: 3.984 kB / 331.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1438, allocations: 7.938 kB / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1439, allocations: 7.938 kB / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.1442, allocations: 191.6 kB / 331.6 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.1442, allocations: 89 kB / 331.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1442, allocations: 0 / 331.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1443, allocations: 8 kB / 331.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.1444, allocations: 11.92 kB / 331.7 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1444, allocations: 4 kB / 331.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.1445, allocations: 95.27 kB / 331.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1445, allocations: 0 / 331.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1447, allocations: 12 kB / 331.8 MB, free: 14.76 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.0001364/0.1449, allocations: 95.25 kB / 331.9 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1452, allocations: 67.88 kB / 332 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1452, allocations: 4 kB / 332 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.1453, allocations: 35.98 kB / 332 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1456, allocations: 0 / 332 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.1462, allocations: 225.5 kB / 332.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1466, allocations: 0.6962 MB / 332.9 MB, free: 13.58 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.796e-05/0.1466, allocations: 11.98 kB / 332.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.1467, allocations: 11.44 kB / 333 MB, free: 13.56 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1467, allocations: 0 / 333 MB, free: 13.56 MB / 286.1 MB Notification: Performance of Templates: time 0.003338/0.15, allocations: 0.7416 MB / 333.7 MB, free: 12.82 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)