Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001213, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.002257/0.002257, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.856/1.856, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001571/0.001571, allocations: 47.92 kB / 280 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1365, allocations: 46.64 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002912/0.1395, allocations: 1.328 MB / 327.9 MB, free: 3.133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.1404, allocations: 367.6 kB / 328.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.1404, allocations: 0 / 328.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.1405, allocations: 3.938 kB / 328.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.1405, allocations: 0 / 328.3 MB, free: 2.766 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.1411, allocations: 79.72 kB / 328.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.1412, allocations: 15.94 kB / 328.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.1412, allocations: 11.98 kB / 328.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.1412, allocations: 3.938 kB / 328.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.1413, allocations: 8 kB / 328.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1413, allocations: 0 / 328.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.1415, allocations: 87.84 kB / 328.5 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.1415, allocations: 11.92 kB / 328.5 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.1415, allocations: 4 kB / 328.5 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1417, allocations: 83.83 kB / 328.6 MB, free: 2.465 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1418, allocations: 3.938 kB / 328.6 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1418, allocations: 0 / 328.6 MB, free: 2.461 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1418, allocations: 0 / 328.6 MB, free: 2.461 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005037/0.1423, allocations: 351.8 kB / 329 MB, free: 2.066 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1423, allocations: 12.03 kB / 329 MB, free: 2.055 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.1424, allocations: 0.9375 kB / 329 MB, free: 2.055 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1425, allocations: 180.2 kB / 329.1 MB, free: 1.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1425, allocations: 384 / 329.1 MB, free: 1.84 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1426, allocations: 384 / 329.1 MB, free: 1.84 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1427, allocations: 38.19 kB / 329.2 MB, free: 1.797 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1427, allocations: 8.125 kB / 329.2 MB, free: 1.789 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1427, allocations: 11.94 kB / 329.2 MB, free: 1.777 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1427, allocations: 0 / 329.2 MB, free: 1.777 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.248e-05/0.1428, allocations: 4 kB / 329.2 MB, free: 1.773 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.1432, allocations: 237 kB / 329.4 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.058e-05/0.1433, allocations: 30.56 kB / 329.5 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.1433, allocations: 12.86 kB / 329.5 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1434, allocations: 11.94 kB / 329.5 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.1435, allocations: 51.34 kB / 329.5 MB, free: 1.363 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1435, allocations: 0 / 329.5 MB, free: 1.363 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.000212/0.1438, allocations: 53.69 kB / 329.6 MB, free: 1.305 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.1438, allocations: 55.39 kB / 329.6 MB, free: 1.238 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1439, allocations: 101.9 kB / 329.7 MB, free: 1.129 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.144, allocations: 29.64 kB / 329.8 MB, free: 1.094 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.144, allocations: 96.12 kB / 329.9 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.1441, allocations: 3.906 kB / 329.9 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1441, allocations: 17.72 kB / 329.9 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1443, allocations: 310.8 kB / 330.2 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.1444, allocations: 11.98 kB / 330.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.1444, allocations: 21.72 kB / 330.2 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.1445, allocations: 25.72 kB / 330.3 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1445, allocations: 0 / 330.3 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001106/0.1446, allocations: 69.45 kB / 330.3 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.1446, allocations: 8 kB / 330.3 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1446, allocations: 0 / 330.3 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1447, allocations: 0 / 330.3 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1448, allocations: 8 kB / 330.3 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1448, allocations: 0 / 330.3 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.1448, allocations: 0 / 330.3 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.1448, allocations: 4 kB / 330.3 MB, free: 0.4922 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: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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.000102/0.1449, allocations: 121.8 kB / 330.5 MB, free: 372 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.145, allocations: 7.984 kB / 330.5 MB, free: 364 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.145, allocations: 3.906 kB / 330.5 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.145, allocations: 0 / 330.5 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.145, allocations: 0 / 330.5 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.145, allocations: 240 / 330.5 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1453, allocations: 286.6 kB / 330.8 MB, free: 12 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1453, allocations: 0 / 330.8 MB, free: 12 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.1454, allocations: 8.25 kB / 330.8 MB, free: 4 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1454, allocations: 4 kB / 330.8 MB, free: 0 / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.1454, allocations: 7.984 kB / 330.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1454, allocations: 4 kB / 330.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.1454, allocations: 0 / 330.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1456, allocations: 155.3 kB / 330.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.1456, allocations: 77.11 kB / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1457, allocations: 0 / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.1457, allocations: 0 / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1458, allocations: 11.98 kB / 331 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1458, allocations: 0 / 331 MB, free: 15.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.538e-05/0.1459, allocations: 83.28 kB / 331.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1459, allocations: 0 / 331.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.1462, allocations: 27.98 kB / 331.1 MB, free: 15.61 MB / 286.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005744/0.1468, allocations: 177.6 kB / 331.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.147, allocations: 23.92 kB / 331.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.147, allocations: 0 / 331.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.076e-05/0.147, allocations: 15.98 kB / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1473, allocations: 0 / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.1478, allocations: 118.3 kB / 331.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.1483, allocations: 0.6845 MB / 332.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.1484, allocations: 11.92 kB / 332.1 MB, free: 14.53 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.1484, allocations: 7.438 kB / 332.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1484, allocations: 0 / 332.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of Templates: time 0.004613/0.153, allocations: 0.953 MB / 333.1 MB, free: 13.57 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)