Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.009164/0.009164, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002148/0.002148, allocations: 199.4 kB / 16.68 MB, free: 5.93 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.883/1.883, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001249/0.00125, allocations: 51.2 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003864/0.1428, allocations: 1.328 MB / 374.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.144, allocations: 356 kB / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.1441, allocations: 0 / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.1442, allocations: 0 / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.983e-05/0.1443, allocations: 3.938 kB / 374.8 MB, free: 15.62 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.0007612/0.145, allocations: 91.72 kB / 374.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.1452, allocations: 15.98 kB / 374.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.29e-05/0.1452, allocations: 19.8 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.1453, allocations: 8 kB / 375 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.016e-05/0.1453, allocations: 7.922 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1453, allocations: 4 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.1456, allocations: 83.91 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.1456, allocations: 4 kB / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.1457, allocations: 11.92 kB / 375.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.146, allocations: 83.81 kB / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.146, allocations: 4 kB / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.146, allocations: 3.938 kB / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.146, allocations: 4 kB / 375.2 MB, free: 15.29 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.0005988/0.1466, allocations: 343.4 kB / 375.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1467, allocations: 8.031 kB / 375.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.1467, allocations: 8.875 kB / 375.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1469, allocations: 164.4 kB / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1469, allocations: 384 / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.147, allocations: 4.375 kB / 375.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1471, allocations: 38.27 kB / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1471, allocations: 4.188 kB / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1471, allocations: 7.922 kB / 375.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1472, allocations: 0 / 375.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.011e-05/0.1472, allocations: 4 kB / 375.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.1477, allocations: 244.9 kB / 376 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/0.1478, allocations: 18.58 kB / 376 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.1479, allocations: 20.86 kB / 376 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1479, allocations: 0 / 376 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.1482, allocations: 55.39 kB / 376.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1482, allocations: 0 / 376.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002837/0.1485, allocations: 57.53 kB / 376.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.1486, allocations: 55.41 kB / 376.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1487, allocations: 105.8 kB / 376.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1487, allocations: 33.7 kB / 376.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.1488, allocations: 80.14 kB / 376.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1489, allocations: 3.906 kB / 376.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.1489, allocations: 17.72 kB / 376.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1491, allocations: 322.8 kB / 376.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.1492, allocations: 4 kB / 376.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-05/0.1492, allocations: 21.7 kB / 376.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.618e-05/0.1493, allocations: 29.66 kB / 376.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1493, allocations: 4 kB / 376.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001221/0.1494, allocations: 61.56 kB / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1495, allocations: 5.094 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1495, allocations: 3.938 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.1495, allocations: 7.938 kB / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.1496, allocations: 4 kB / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1496, allocations: 0 / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.1497, allocations: 15.92 kB / 376.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1497, allocations: 0 / 376.9 MB, free: 13.33 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.0001039/0.1498, allocations: 117.8 kB / 377 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.1498, allocations: 0 / 377 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.1498, allocations: 4.141 kB / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1498, allocations: 0 / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1499, allocations: 4 kB / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1499, allocations: 3.984 kB / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1502, allocations: 294.5 kB / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1502, allocations: 0 / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.1502, allocations: 4.375 kB / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1502, allocations: 0 / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1502, allocations: 0 / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1502, allocations: 4 kB / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1503, allocations: 0 / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.1504, allocations: 143.5 kB / 377.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.1505, allocations: 92.89 kB / 377.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1505, allocations: 11.98 kB / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.1506, allocations: 0 / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.1506, allocations: 0 / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1506, allocations: 0 / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.1507, allocations: 83.28 kB / 377.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1507, allocations: 0 / 377.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000325/0.151, allocations: 27.98 kB / 377.7 MB, free: 12.45 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.0004758/0.1515, allocations: 190.7 kB / 377.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1517, allocations: 23.98 kB / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1517, allocations: 0 / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.1517, allocations: 7.938 kB / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.152, allocations: 8.062 kB / 377.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.1524, allocations: 117.5 kB / 378 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1528, allocations: 0.6768 MB / 378.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.451e-05/0.1529, allocations: 4 kB / 378.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.1529, allocations: 15.36 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1529, allocations: 0 / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of Templates: time 0.004074/0.157, allocations: 0.953 MB / 379.7 MB, free: 10.4 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)