Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.008731/0.00873, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.00174/0.00174, allocations: 195 kB / 16.67 MB, free: 5.883 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.878/1.878, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001408/0.001409, allocations: 57.92 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1233, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.004204/0.1275, allocations: 1.557 MB / 374.7 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.129, allocations: 0.5578 MB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.1292, allocations: 4 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.624e-05/0.1293, allocations: 7.922 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1294, allocations: 11.88 kB / 375.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1299, allocations: 43.83 kB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.13, allocations: 51.84 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1302, allocations: 27.92 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.1302, allocations: 19.92 kB / 375.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.1303, allocations: 35.72 kB / 375.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1304, allocations: 4 kB / 375.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.1306, allocations: 43.97 kB / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.1307, allocations: 11.98 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.1307, allocations: 27.81 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.131, allocations: 79.58 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.131, allocations: 0 / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.131, allocations: 4 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.131, allocations: 3.938 kB / 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.0007094/0.1317, allocations: 383.1 kB / 376 MB, free: 14.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.1318, allocations: 8.031 kB / 376 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.1323, allocations: 52.83 kB / 376.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.1325, allocations: 172.3 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.1325, allocations: 8.375 kB / 376.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1326, allocations: 4.375 kB / 376.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.1328, allocations: 93.95 kB / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1329, allocations: 0 / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1329, allocations: 0 / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1329, allocations: 8 kB / 376.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.1332, allocations: 71.88 kB / 376.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/0.1339, allocations: 344.7 kB / 376.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1341, allocations: 78.47 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1343, allocations: 32.97 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1343, allocations: 0 / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1343, allocations: 34.56 kB / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1343, allocations: 0 / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004684/0.1348, allocations: 125.5 kB / 377 MB, free: 13.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.1349, allocations: 55.41 kB / 377.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.135, allocations: 126 kB / 377.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.135, allocations: 25.7 kB / 377.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.1351, allocations: 100 kB / 377.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1352, allocations: 15.83 kB / 377.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.1352, allocations: 17.72 kB / 377.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1354, allocations: 326.8 kB / 377.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.579e-05/0.1355, allocations: 19.98 kB / 377.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.1356, allocations: 27.97 kB / 377.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1357, allocations: 56.83 kB / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1358, allocations: 0 / 377.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002491/0.136, allocations: 97.55 kB / 377.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.136, allocations: 13.08 kB / 377.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1361, allocations: 3.938 kB / 377.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1361, allocations: 0 / 377.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1362, allocations: 20.42 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1363, allocations: 3.938 kB / 377.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.1363, allocations: 11.98 kB / 377.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1364, allocations: 0 / 377.9 MB, free: 12.29 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.0001052/0.1365, allocations: 117.8 kB / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.1365, allocations: 11.95 kB / 378.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.1368, allocations: 109.5 kB / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1369, allocations: 0 / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1369, allocations: 3.938 kB / 378.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1369, allocations: 0 / 378.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.1371, allocations: 201.5 kB / 378.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1371, allocations: 3.984 kB / 378.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1372, allocations: 19.98 kB / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1373, allocations: 0 / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1373, allocations: 0 / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1373, allocations: 0 / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1373, allocations: 3.938 kB / 378.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1376, allocations: 199.5 kB / 378.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.1377, allocations: 85 kB / 378.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1377, allocations: 8 kB / 378.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.1378, allocations: 7.984 kB / 378.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1378, allocations: 7.938 kB / 378.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1379, allocations: 0 / 378.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.1379, allocations: 99.27 kB / 378.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1379, allocations: 3.938 kB / 378.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1382, allocations: 12 kB / 378.8 MB, free: 11.31 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.0001343/0.1383, allocations: 95.23 kB / 378.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.1386, allocations: 63.95 kB / 379 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1386, allocations: 0 / 379 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1387, allocations: 39.91 kB / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1391, allocations: 8 kB / 379 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.1396, allocations: 185.7 kB / 379.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.14, allocations: 0.6924 MB / 379.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.195e-05/0.1401, allocations: 8 kB / 379.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.1401, allocations: 7.438 kB / 379.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1401, allocations: 0 / 379.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Templates: time 0.003696/0.1438, allocations: 0.8004 MB / 380.7 MB, free: 9.355 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)