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.00985/0.009851, allocations: 102 kB / 15.73 MB, free: 6.035 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.00164/0.00164, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.85/1.85, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001238/0.001238, allocations: 47.66 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1425, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00361/0.1462, allocations: 1.557 MB / 374.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1476, allocations: 0.5656 MB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.1476, allocations: 4 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.533e-05/0.1477, allocations: 7.875 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.1478, allocations: 7.875 kB / 375.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1482, allocations: 43.88 kB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1483, allocations: 55.78 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1484, allocations: 16 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.1485, allocations: 23.92 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.1486, allocations: 31.78 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1486, allocations: 4 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.1488, allocations: 43.97 kB / 375.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.1488, allocations: 15.92 kB / 375.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.1489, allocations: 23.81 kB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1491, allocations: 87.58 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.1491, allocations: 8 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1491, allocations: 0 / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1491, allocations: 0 / 375.7 MB, free: 14.8 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.0005711/0.1497, allocations: 375.3 kB / 376 MB, free: 14.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.1498, allocations: 8.031 kB / 376 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.1502, allocations: 48.8 kB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1504, allocations: 188.1 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.1504, allocations: 4.375 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1504, allocations: 8.375 kB / 376.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.1507, allocations: 89.95 kB / 376.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1507, allocations: 0 / 376.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1508, allocations: 8 kB / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1508, allocations: 3.984 kB / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.151, allocations: 59.95 kB / 376.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.1517, allocations: 352.5 kB / 376.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.1519, allocations: 70.53 kB / 376.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.152, allocations: 32.97 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.152, allocations: 4 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1521, allocations: 42.48 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1521, allocations: 0 / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004487/0.1525, allocations: 117.5 kB / 377 MB, free: 13.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1526, allocations: 55.41 kB / 377.1 MB, free: 13.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1527, allocations: 130 kB / 377.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1527, allocations: 29.64 kB / 377.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.1528, allocations: 96.03 kB / 377.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1529, allocations: 15.75 kB / 377.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1529, allocations: 17.72 kB / 377.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.153, allocations: 318.8 kB / 377.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.953e-05/0.1531, allocations: 23.98 kB / 377.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/0.1532, allocations: 31.97 kB / 377.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1534, allocations: 64.75 kB / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1535, allocations: 0 / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00023/0.1537, allocations: 89.56 kB / 377.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1537, allocations: 8 kB / 377.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.1537, allocations: 0 / 377.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1538, allocations: 4 kB / 377.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1539, allocations: 15.98 kB / 377.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1539, allocations: 3.938 kB / 377.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.154, allocations: 11.98 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.154, allocations: 0 / 377.9 MB, free: 12.3 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.0001075/0.1541, allocations: 121.7 kB / 378.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.1542, allocations: 11.84 kB / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.1545, allocations: 113.6 kB / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1545, allocations: 0 / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1545, allocations: 4.438 kB / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1546, allocations: 0 / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.1548, allocations: 193.6 kB / 378.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1548, allocations: 4 kB / 378.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.155, allocations: 19.98 kB / 378.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.155, allocations: 0 / 378.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.155, allocations: 4 kB / 378.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.155, allocations: 3.984 kB / 378.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.155, allocations: 7.875 kB / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.1554, allocations: 191.4 kB / 378.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.1554, allocations: 81.02 kB / 378.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1555, allocations: 4 kB / 378.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1556, allocations: 11.98 kB / 378.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.1557, allocations: 15.92 kB / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1557, allocations: 0 / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.537e-05/0.1558, allocations: 99.2 kB / 378.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1558, allocations: 0 / 378.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.156, allocations: 11.94 kB / 378.8 MB, free: 11.32 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.0001758/0.1562, allocations: 95.25 kB / 378.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.1565, allocations: 71.89 kB / 379 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1565, allocations: 0 / 379 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1566, allocations: 31.97 kB / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.1571, allocations: 8 kB / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.1577, allocations: 201.5 kB / 379.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.1582, allocations: 0.6885 MB / 379.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.559e-05/0.1583, allocations: 11.97 kB / 379.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.1583, allocations: 15.44 kB / 379.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1583, allocations: 0 / 379.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Templates: time 0.004191/0.1625, allocations: 0.7745 MB / 380.7 MB, free: 9.371 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)