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.007934/0.007933, allocations: 102.3 kB / 15.73 MB, free: 5.516 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.001524/0.001524, allocations: 195.1 kB / 16.67 MB, free: 5.449 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.711/1.711, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.001174/0.001174, allocations: 50.86 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1191, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002571/0.1217, allocations: 1.328 MB / 374.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008835/0.1226, allocations: 356 kB / 374.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.1227, allocations: 0 / 374.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.1227, allocations: 3.938 kB / 374.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.1228, allocations: 7.922 kB / 374.9 MB, free: 15.59 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.0006186/0.1234, allocations: 83.72 kB / 374.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.1235, allocations: 19.92 kB / 375 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.1236, allocations: 4 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.1236, allocations: 11.98 kB / 375 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.675e-05/0.1236, allocations: 11.92 kB / 375 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1237, allocations: 4 kB / 375 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.1238, allocations: 87.86 kB / 375.1 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.1239, allocations: 0 / 375.1 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.1239, allocations: 15.92 kB / 375.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1241, allocations: 87.69 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1241, allocations: 4 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1241, allocations: 0 / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1241, allocations: 0 / 375.2 MB, free: 15.27 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.0004553/0.1246, allocations: 343.3 kB / 375.5 MB, free: 14.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1246, allocations: 8.031 kB / 375.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.1247, allocations: 8.938 kB / 375.5 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.1249, allocations: 176.2 kB / 375.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1249, allocations: 384 / 375.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1249, allocations: 8.375 kB / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.314e-05/0.125, allocations: 34.25 kB / 375.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.125, allocations: 192 / 375.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.125, allocations: 7.938 kB / 375.7 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.125, allocations: 0 / 375.7 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.1251, allocations: 4 kB / 375.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1254, allocations: 245 kB / 376 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.1255, allocations: 22.52 kB / 376 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.1255, allocations: 16.86 kB / 376 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.1256, allocations: 0 / 376 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.1257, allocations: 55.39 kB / 376.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1257, allocations: 7.938 kB / 376.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001904/0.1259, allocations: 57.62 kB / 376.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1259, allocations: 51.41 kB / 376.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.556e-05/0.126, allocations: 109.8 kB / 376.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.126, allocations: 25.7 kB / 376.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.1261, allocations: 80.14 kB / 376.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.1261, allocations: 3.953 kB / 376.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.1262, allocations: 25.7 kB / 376.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1263, allocations: 318.8 kB / 376.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.1263, allocations: 4 kB / 376.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.1263, allocations: 21.7 kB / 376.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.1264, allocations: 29.66 kB / 376.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.1264, allocations: 0 / 376.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.654e-05/0.1265, allocations: 65.7 kB / 376.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1265, allocations: 5.094 kB / 376.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1265, allocations: 4.031 kB / 376.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1266, allocations: 8.031 kB / 376.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.1266, allocations: 7.938 kB / 376.9 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1266, allocations: 3.984 kB / 376.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.1267, allocations: 4 kB / 376.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1267, allocations: 0 / 376.9 MB, free: 13.3 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.534e-05/0.1268, allocations: 117.8 kB / 377 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-06/0.1268, allocations: 0 / 377 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.1268, allocations: 3.906 kB / 377 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1268, allocations: 8 kB / 377 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1269, allocations: 0 / 377 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1269, allocations: 0 / 377 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.1271, allocations: 298.4 kB / 377.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1271, allocations: 0 / 377.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-05/0.1271, allocations: 4 kB / 377.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1271, allocations: 384 / 377.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1271, allocations: 0 / 377.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.1272, allocations: 4 kB / 377.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1272, allocations: 0 / 377.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.1273, allocations: 151.5 kB / 377.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.1273, allocations: 81.09 kB / 377.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1274, allocations: 4 kB / 377.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.224e-05/0.1274, allocations: 0 / 377.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.1274, allocations: 3.938 kB / 377.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1275, allocations: 4 kB / 377.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.1275, allocations: 83.28 kB / 377.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.1275, allocations: 4 kB / 377.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1278, allocations: 27.86 kB / 377.7 MB, free: 12.42 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.0003981/0.1282, allocations: 186.6 kB / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.1283, allocations: 23.98 kB / 377.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1283, allocations: 0 / 377.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.1284, allocations: 4 kB / 377.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.1286, allocations: 4 kB / 377.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.1289, allocations: 117.3 kB / 378 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1292, allocations: 0.6807 MB / 378.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.785e-05/0.1292, allocations: 7.984 kB / 378.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.1292, allocations: 11.5 kB / 378.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1292, allocations: 0 / 378.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of Templates: time 0.003796/0.133, allocations: 0.9608 MB / 379.7 MB, free: 10.37 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)