Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.006667/0.006667, allocations: 103.9 kB / 15.74 MB, free: 6.008 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.001785/0.001785, allocations: 187 kB / 16.67 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.653/1.653, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.001494/0.001494, allocations: 55.47 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003803/0.1304, allocations: 1.561 MB / 374.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1319, allocations: 0.5617 MB / 375.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.1321, allocations: 0 / 375.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.864e-05/0.1322, allocations: 7.875 kB / 375.3 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.1324, allocations: 15.88 kB / 375.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.1328, allocations: 43.88 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.133, allocations: 51.8 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1332, allocations: 19.98 kB / 375.4 MB, free: 15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.1333, allocations: 19.92 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1334, allocations: 31.78 kB / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1334, allocations: 4 kB / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.1337, allocations: 47.97 kB / 375.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.1338, allocations: 7.984 kB / 375.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.1339, allocations: 31.75 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.1341, allocations: 83.64 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.1342, allocations: 0 / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1342, allocations: 3.938 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1342, allocations: 0 / 375.7 MB, free: 14.77 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.000756/0.1349, allocations: 379.3 kB / 376 MB, free: 14.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.135, allocations: 12.03 kB / 376 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.1355, allocations: 48.78 kB / 376.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1357, allocations: 176.2 kB / 376.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.1358, allocations: 8.312 kB / 376.3 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1358, allocations: 8.375 kB / 376.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.1361, allocations: 85.95 kB / 376.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1362, allocations: 0 / 376.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.1362, allocations: 4 kB / 376.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1362, allocations: 8 kB / 376.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.1364, allocations: 63.94 kB / 376.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.1373, allocations: 348.5 kB / 376.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1375, allocations: 70.53 kB / 376.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1376, allocations: 40.97 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1376, allocations: 0 / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1377, allocations: 34.5 kB / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.1377, allocations: 0 / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004675/0.1382, allocations: 125.5 kB / 377 MB, free: 13.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1382, allocations: 51.41 kB / 377.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1384, allocations: 130 kB / 377.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1384, allocations: 25.7 kB / 377.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.1385, allocations: 99.98 kB / 377.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.1385, allocations: 15.73 kB / 377.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.1386, allocations: 17.72 kB / 377.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1388, allocations: 322.8 kB / 377.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.1389, allocations: 23.98 kB / 377.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.1389, allocations: 27.97 kB / 377.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1391, allocations: 60.77 kB / 377.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1391, allocations: 0 / 377.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002283/0.1394, allocations: 97.55 kB / 377.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1394, allocations: 5.094 kB / 377.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1394, allocations: 4 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.1394, allocations: 0 / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1396, allocations: 15.98 kB / 377.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1396, allocations: 3.938 kB / 377.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.1397, allocations: 11.98 kB / 377.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1397, allocations: 4 kB / 377.9 MB, free: 12.27 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.0001171/0.1398, allocations: 121.7 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.1399, allocations: 7.906 kB / 378.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.1402, allocations: 106.1 kB / 378.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1402, allocations: 7.938 kB / 378.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.1402, allocations: 3.938 kB / 378.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1403, allocations: 3.984 kB / 378.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.1405, allocations: 201.6 kB / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1405, allocations: 0 / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1406, allocations: 19.98 kB / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1406, allocations: 0 / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1407, allocations: 0 / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1407, allocations: 0 / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1407, allocations: 3.938 kB / 378.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.141, allocations: 203.3 kB / 378.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.141, allocations: 81.02 kB / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.141, allocations: 0 / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1412, allocations: 15.98 kB / 378.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.1412, allocations: 11.92 kB / 378.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1412, allocations: 0 / 378.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.026e-05/0.1413, allocations: 95.27 kB / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1413, allocations: 3.938 kB / 378.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.1416, allocations: 19.94 kB / 378.8 MB, free: 11.28 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.0001536/0.1417, allocations: 91.25 kB / 378.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.142, allocations: 67.89 kB / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.142, allocations: 0 / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.1421, allocations: 31.97 kB / 379 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1425, allocations: 12 kB / 379 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.1431, allocations: 193.5 kB / 379.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1434, allocations: 0.6923 MB / 379.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.673e-05/0.1435, allocations: 8 kB / 379.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.1435, allocations: 15.42 kB / 379.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1435, allocations: 0 / 379.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Templates: time 0.003889/0.1474, allocations: 0.7861 MB / 380.7 MB, free: 9.332 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)