Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008978/0.0008979, allocations: 97.69 kB / 16.31 MB, free: 6.461 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.0009033/0.0009035, allocations: 173.3 kB / 17.19 MB, free: 6.348 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.515/1.515, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004399/0.00044, allocations: 16 kB / 280.1 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 47.58 MB / 327.7 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002043/0.1308, allocations: 1.25 MB / 328.9 MB, free: 2.855 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1336, allocations: 1.385 MB / 330.3 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.1337, allocations: 0 / 330.3 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.1339, allocations: 3.938 kB / 330.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.134, allocations: 27.89 kB / 330.4 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1354, allocations: 299.2 kB / 330.7 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.1357, allocations: 83.83 kB / 330.7 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1358, allocations: 13.48 kB / 330.8 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1359, allocations: 55.7 kB / 330.8 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.136, allocations: 59.75 kB / 330.9 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.136, allocations: 8 kB / 330.9 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.1371, allocations: 427.3 kB / 331.3 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.762e-05/0.1372, allocations: 27.89 kB / 331.3 MB, free: 480 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.1373, allocations: 53.58 kB / 331.4 MB, free: 420 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007648/0.138, allocations: 279.8 kB / 331.6 MB, free: 140 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.138, allocations: 0 / 331.6 MB, free: 140 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1381, allocations: 0 / 331.6 MB, free: 140 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1381, allocations: 0 / 331.6 MB, free: 140 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001048/0.1391, allocations: 498.6 kB / 332.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.1392, allocations: 15.97 kB / 332.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.1395, allocations: 31.8 kB / 332.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1397, allocations: 207.5 kB / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.1398, allocations: 8 kB / 332.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.1398, allocations: 4 kB / 332.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.1401, allocations: 132.1 kB / 332.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1401, allocations: 7.984 kB / 332.5 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1402, allocations: 4 kB / 332.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1402, allocations: 0 / 332.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.1404, allocations: 71.89 kB / 332.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009278/0.1413, allocations: 0.5517 MB / 333.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.1417, allocations: 163.8 kB / 333.3 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.1417, allocations: 7.938 kB / 333.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003226/0.1421, allocations: 150 kB / 333.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.1421, allocations: 0 / 333.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007409/0.1428, allocations: 427.5 kB / 333.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.1429, allocations: 127 kB / 334 MB, free: 13.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1432, allocations: 199 kB / 334.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.1432, allocations: 49.69 kB / 334.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.1433, allocations: 108.6 kB / 334.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.1434, allocations: 47.39 kB / 334.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.1434, allocations: 3.984 kB / 334.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1436, allocations: 338.8 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.1438, allocations: 95.95 kB / 334.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.144, allocations: 151.2 kB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1443, allocations: 123.9 kB / 335.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1443, allocations: 4 kB / 335.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006081/0.1449, allocations: 305.3 kB / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.145, allocations: 4 kB / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.145, allocations: 0 / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.145, allocations: 4.094 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1452, allocations: 43.91 kB / 335.5 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1452, allocations: 0 / 335.5 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/0.1453, allocations: 23.75 kB / 335.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1453, allocations: 8.469 kB / 335.5 MB, free: 11.97 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.1455, allocations: 149.7 kB / 335.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1455, allocations: 27.8 kB / 335.7 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.1456, allocations: 9.406 kB / 335.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1456, allocations: 4.094 kB / 335.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1456, allocations: 3.984 kB / 335.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1456, allocations: 0 / 335.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1458, allocations: 221.5 kB / 335.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1458, allocations: 0 / 335.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.1459, allocations: 11.98 kB / 335.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1459, allocations: 8 kB / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1459, allocations: 4 kB / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1459, allocations: 3.938 kB / 335.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.146, allocations: 7.984 kB / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.1464, allocations: 281.1 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.1465, allocations: 92.86 kB / 336.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.1465, allocations: 15.98 kB / 336.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1466, allocations: 4 kB / 336.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.1467, allocations: 19.92 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.1467, allocations: 8 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1468, allocations: 141.2 kB / 336.5 MB, free: 10.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1468, allocations: 0 / 336.5 MB, free: 10.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.1473, allocations: 124 kB / 336.6 MB, free: 10.74 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009065/0.1482, allocations: 347.2 kB / 336.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.1487, allocations: 203.8 kB / 337.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1487, allocations: 0 / 337.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.1489, allocations: 71.91 kB / 337.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1491, allocations: 8.188 kB / 337.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.1496, allocations: 311.3 kB / 337.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.15, allocations: 0.7201 MB / 338.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.359e-05/0.15, allocations: 29.33 kB / 338.3 MB, free: 9.016 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.1501, allocations: 15.44 kB / 338.3 MB, free: 9 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1501, allocations: 0 / 338.3 MB, free: 9 MB / 286.1 MB Notification: Performance of Templates: time 0.007621/0.1577, allocations: 3.431 MB / 341.7 MB, free: 5.566 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) Environment - environmentSimulation: