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.001737/0.001737, allocations: 110.5 kB / 17.06 MB, free: 6.117 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.001741, allocations: 198.9 kB / 18 MB, free: 5.195 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.9/1.9, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001801/0.001801, allocations: 47.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1529, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003454/0.1564, allocations: 1.339 MB / 375.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1575, allocations: 351.7 kB / 376.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.1576, allocations: 0 / 376.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.1576, allocations: 8 kB / 376.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.1577, allocations: 7.875 kB / 376.2 MB, free: 2.855 MB / 318.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.0006409/0.1584, allocations: 79.72 kB / 376.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.1585, allocations: 27.92 kB / 376.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.1585, allocations: 0 / 376.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.958e-05/0.1586, allocations: 4 kB / 376.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.1586, allocations: 15.91 kB / 376.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1586, allocations: 0 / 376.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.1588, allocations: 83.92 kB / 376.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.1589, allocations: 3.984 kB / 376.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.1589, allocations: 11.94 kB / 376.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.1592, allocations: 91.75 kB / 376.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1592, allocations: 0 / 376.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1592, allocations: 0 / 376.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1592, allocations: 0 / 376.5 MB, free: 2.543 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005305/0.1597, allocations: 351.3 kB / 376.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1598, allocations: 8.031 kB / 376.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1598, allocations: 4.938 kB / 376.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.16, allocations: 164.4 kB / 377 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.16, allocations: 4.375 kB / 377 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.16, allocations: 4.375 kB / 377 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1601, allocations: 34.25 kB / 377 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1602, allocations: 192 / 377 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1602, allocations: 3.938 kB / 377 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1602, allocations: 0 / 377 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.678e-05/0.1602, allocations: 15.92 kB / 377.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.1606, allocations: 240.9 kB / 377.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.1607, allocations: 26.58 kB / 377.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.1608, allocations: 16.84 kB / 377.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.1608, allocations: 4 kB / 377.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.161, allocations: 51.34 kB / 377.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.161, allocations: 4 kB / 377.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000202/0.1612, allocations: 53.69 kB / 377.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.1613, allocations: 55.41 kB / 377.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1614, allocations: 109.8 kB / 377.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1614, allocations: 25.7 kB / 377.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.1615, allocations: 80.14 kB / 377.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1615, allocations: 15.84 kB / 377.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.1615, allocations: 21.7 kB / 377.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1617, allocations: 310.8 kB / 378.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.1617, allocations: 4 kB / 378.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.1618, allocations: 26.08 kB / 378.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.1619, allocations: 33.66 kB / 378.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1619, allocations: 0 / 378.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001253/0.162, allocations: 61.56 kB / 378.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.162, allocations: 4 kB / 378.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.162, allocations: 4 kB / 378.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1621, allocations: 0 / 378.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1621, allocations: 7.984 kB / 378.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1622, allocations: 8.031 kB / 378.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.1622, allocations: 7.906 kB / 378.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1622, allocations: 0 / 378.2 MB, free: 0.5781 MB / 318.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.0001106/0.1624, allocations: 113.8 kB / 378.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.1624, allocations: 0 / 378.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.1624, allocations: 11.91 kB / 378.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1624, allocations: 0 / 378.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1624, allocations: 0 / 378.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1625, allocations: 3.984 kB / 378.3 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.1628, allocations: 286.5 kB / 378.6 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1628, allocations: 4 kB / 378.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.1628, allocations: 0 / 378.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1628, allocations: 0 / 378.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1628, allocations: 0 / 378.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1629, allocations: 0 / 378.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.1629, allocations: 7.938 kB / 378.6 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.255/0.4179, allocations: 145.8 kB / 378.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.418, allocations: 82.52 kB / 378.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.418, allocations: 1.828 kB / 378.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.4181, allocations: 2.953 kB / 378.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.4181, allocations: 3.766 kB / 378.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.4182, allocations: 8 kB / 378.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.4182, allocations: 81.48 kB / 378.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4183, allocations: 0 / 378.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004515/0.4187, allocations: 28.52 kB / 379 MB, free: 12.67 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: 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.0004718/0.4192, allocations: 184 kB / 379.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.4193, allocations: 22.3 kB / 379.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4194, allocations: 0 / 379.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.4194, allocations: 15.84 kB / 379.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4197, allocations: 4.672 kB / 379.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.42, allocations: 113.3 kB / 379.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.4201, allocations: 0.68 MB / 380 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.758e-05/0.4202, allocations: 6.375 kB / 380 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.4202, allocations: 10.19 kB / 380 MB, free: 11.75 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4202, allocations: 3.094 kB / 380 MB, free: 11.75 MB / 318.1 MB Notification: Performance of Templates: time 0.004114/0.4243, allocations: 0.9619 MB / 381 MB, free: 11.66 MB / 318.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)