Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.01036/0.01036, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.002297/0.002297, allocations: 196 kB / 16.68 MB, free: 5.934 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.77/1.77, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001303/0.001303, allocations: 54.81 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1204, 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.002666/0.1231, allocations: 1.328 MB / 374.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.124, allocations: 348.1 kB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.1241, allocations: 7.938 kB / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.1241, allocations: 0 / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.1242, 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.000544/0.1248, allocations: 87.72 kB / 374.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.199e-05/0.1249, allocations: 15.92 kB / 374.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.326e-05/0.1249, allocations: 11.94 kB / 375 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.125, allocations: 8 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.597e-05/0.125, allocations: 7.922 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.125, allocations: 0 / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.1252, allocations: 87.91 kB / 375.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.1252, allocations: 7.938 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.1253, allocations: 11.94 kB / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1255, allocations: 87.8 kB / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1255, allocations: 0 / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1255, allocations: 0 / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1255, allocations: 0 / 375.2 MB, free: 15.3 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.0004708/0.126, allocations: 347.4 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.126, allocations: 8.031 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.1261, allocations: 4.875 kB / 375.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1262, allocations: 172.4 kB / 375.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1262, allocations: 4.375 kB / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1262, allocations: 4.375 kB / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.714e-05/0.1263, allocations: 30.27 kB / 375.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.1264, allocations: 192 / 375.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1264, allocations: 7.938 kB / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1264, allocations: 7.922 kB / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.362e-05/0.1264, allocations: 0 / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.1268, allocations: 241 kB / 376 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.391e-05/0.1269, allocations: 26.58 kB / 376 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.1269, allocations: 16.86 kB / 376 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.1269, allocations: 0 / 376 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1271, allocations: 59.33 kB / 376.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1271, allocations: 0 / 376.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001912/0.1273, allocations: 53.59 kB / 376.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1274, allocations: 55.41 kB / 376.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.1275, allocations: 109.8 kB / 376.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1275, allocations: 29.64 kB / 376.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.1276, allocations: 84.14 kB / 376.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.1276, allocations: 3.906 kB / 376.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1276, allocations: 17.72 kB / 376.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1277, allocations: 322.8 kB / 376.7 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.1278, allocations: 8 kB / 376.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.1278, allocations: 21.72 kB / 376.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.023e-05/0.1279, allocations: 25.7 kB / 376.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1279, allocations: 0 / 376.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.31e-05/0.128, allocations: 65.56 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.128, allocations: 4 kB / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.128, allocations: 0 / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.128, allocations: 4.172 kB / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.1281, allocations: 12.03 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1281, allocations: 0 / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.1281, allocations: 3.906 kB / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1281, allocations: 7.984 kB / 376.9 MB, free: 13.34 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 8.126e-05/0.1282, allocations: 117.8 kB / 377 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.1282, allocations: 4 kB / 377 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.1283, allocations: 7.844 kB / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1283, allocations: 0 / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1283, allocations: 0 / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1283, allocations: 4 kB / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1285, allocations: 290.6 kB / 377.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1286, allocations: 384 / 377.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.1286, allocations: 0 / 377.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1286, allocations: 8 kB / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1286, allocations: 0 / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1286, allocations: 0 / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1286, allocations: 0 / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.1287, allocations: 155.4 kB / 377.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.1288, allocations: 84.95 kB / 377.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1288, allocations: 3.984 kB / 377.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.1289, allocations: 0 / 377.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1289, allocations: 4 kB / 377.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1289, allocations: 0 / 377.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.129, allocations: 83.28 kB / 377.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.129, allocations: 0 / 377.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1293, allocations: 31.92 kB / 377.7 MB, free: 12.46 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.0004166/0.1297, allocations: 194.6 kB / 377.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1298, allocations: 23.92 kB / 377.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1298, allocations: 8.062 kB / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.1299, allocations: 4 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.0002015/0.1301, allocations: 0 / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.1303, allocations: 117.5 kB / 378 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1306, allocations: 0.6807 MB / 378.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.1306, allocations: 4 kB / 378.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.1307, allocations: 11.42 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1307, allocations: 0 / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of Templates: time 0.003643/0.1343, allocations: 0.9685 MB / 379.7 MB, free: 10.39 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)