Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 95.14 kB / 16.3 MB, free: 5.992 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.0009895/0.00099, allocations: 184.3 kB / 17.2 MB, free: 5.914 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.4 MB / 223.4 MB, free: 5.551 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.0004977/0.0004979, allocations: 14.81 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.0009952/0.2515, allocations: 0.9501 MB / 328.6 MB, free: 0.6523 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006968/0.2522, allocations: 434 kB / 329.1 MB, free: 348 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.2523, allocations: 5.125 kB / 329.1 MB, free: 344 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.2523, allocations: 0 / 329.1 MB, free: 344 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.2526, allocations: 56.64 kB / 329.1 MB, free: 304 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.2527, allocations: 51.47 kB / 329.2 MB, free: 268 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.049e-05/0.2528, allocations: 24.25 kB / 329.2 MB, free: 256 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.2528, allocations: 1.062 kB / 329.2 MB, free: 256 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.2529, allocations: 24.78 kB / 329.2 MB, free: 240 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.623e-05/0.2529, allocations: 23.83 kB / 329.3 MB, free: 224 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.2529, allocations: 1.188 kB / 329.3 MB, free: 224 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2531, allocations: 83.17 kB / 329.3 MB, free: 184 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.2532, allocations: 38.88 kB / 329.4 MB, free: 164 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.2532, allocations: 39.58 kB / 329.4 MB, free: 128 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.2534, allocations: 113.7 kB / 329.5 MB, free: 64 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.2534, allocations: 0 / 329.5 MB, free: 64 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2534, allocations: 1.344 kB / 329.5 MB, free: 64 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2534, allocations: 0 / 329.5 MB, free: 64 kB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005108/0.2539, allocations: 0.5623 MB / 330.1 MB, free: 15.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2539, allocations: 8.875 kB / 330.1 MB, free: 15.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2541, allocations: 22.44 kB / 330.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2542, allocations: 175.3 kB / 330.3 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2542, allocations: 6.438 kB / 330.3 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.2543, allocations: 4.25 kB / 330.3 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.2546, allocations: 277 kB / 330.6 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2546, allocations: 1.156 kB / 330.6 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2546, allocations: 5.906 kB / 330.6 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2547, allocations: 0 / 330.6 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.2548, allocations: 151 kB / 330.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.255, allocations: 193.1 kB / 330.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.2554, allocations: 498.4 kB / 331.4 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.2554, allocations: 0 / 331.4 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/0.2559, allocations: 485.8 kB / 331.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 1.262e-06/0.2559, allocations: 0 / 331.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.001013/0.257, allocations: 0.8784 MB / 332.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.2571, allocations: 166.6 kB / 332.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.2572, allocations: 103 kB / 333 MB, free: 13.42 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2572, allocations: 27.33 kB / 333 MB, free: 13.39 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.2572, allocations: 86.55 kB / 333.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.2573, allocations: 89.86 kB / 333.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.2573, allocations: 2.188 kB / 333.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2574, allocations: 327.1 kB / 333.5 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.2575, allocations: 80.12 kB / 333.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.2577, allocations: 110.1 kB / 333.7 MB, free: 12.82 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.2578, allocations: 203 kB / 333.9 MB, free: 12.69 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2579, allocations: 4.031 kB / 333.9 MB, free: 12.69 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003768/0.2582, allocations: 342.6 kB / 334.3 MB, free: 12.49 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.126e-05/0.2583, allocations: 110.2 kB / 334.4 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2584, allocations: 4.953 kB / 334.4 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2584, allocations: 1.062 kB / 334.4 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.2584, allocations: 1 kB / 334.4 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2584, allocations: 3.984 kB / 334.4 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.825e-05/0.2585, allocations: 26.91 kB / 334.4 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.2585, allocations: 8.25 kB / 334.4 MB, free: 12.38 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0002535/0.2588, allocations: 292.5 kB / 334.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.2588, allocations: 27.81 kB / 334.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.064e-05/0.2588, allocations: 5.562 kB / 334.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2588, allocations: 11.94 kB / 334.7 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2588, allocations: 0 / 334.7 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2588, allocations: 4 kB / 334.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.259, allocations: 225.4 kB / 335 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.259, allocations: 0 / 335 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-06/0.259, allocations: 4 kB / 335 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.259, allocations: 0 / 335 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.2591, allocations: 27.86 kB / 335 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2591, allocations: 0 / 335 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2591, allocations: 7.891 kB / 335 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.2602, allocations: 1.23 MB / 336.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.2603, allocations: 96.84 kB / 336.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/0.2604, allocations: 67.94 kB / 336.4 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/0.2605, allocations: 15.95 kB / 336.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.2605, allocations: 8 kB / 336.4 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.2605, allocations: 27.97 kB / 336.4 MB, free: 10.27 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.321e-05/0.2606, allocations: 83.31 kB / 336.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2606, allocations: 0 / 336.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.2609, allocations: 87.98 kB / 336.6 MB, free: 10.1 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0004873/0.2614, allocations: 289.8 kB / 336.9 MB, free: 9.809 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.263, allocations: 2.127 MB / 339 MB, free: 7.656 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.263, allocations: 0 / 339 MB, free: 7.656 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.2646, allocations: 2.182 MB / 341.2 MB, free: 5.449 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.2648, allocations: 12.62 kB / 341.2 MB, free: 5.438 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.2654, allocations: 415.3 kB / 341.6 MB, free: 5 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.2657, allocations: 0.7247 MB / 342.3 MB, free: 4.242 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 1.261e-05/0.2657, allocations: 3.984 kB / 342.4 MB, free: 4.238 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.2657, allocations: 7.438 kB / 342.4 MB, free: 4.23 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2657, allocations: 0 / 342.4 MB, free: 4.23 MB / 270.1 MB Notification: Performance of Templates: time 0.005442/0.2712, allocations: 2.757 MB / 345.1 MB, free: 1.469 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) Environment - environmentSimulation: