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.006106/0.006106, allocations: 102 kB / 15.73 MB, free: 6.035 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.0014/0.0014, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.749/1.749, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001188/0.001188, allocations: 51.11 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1169, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002625/0.1196, allocations: 1.321 MB / 374.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.1205, allocations: 355.9 kB / 374.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.1205, allocations: 0 / 374.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.1206, allocations: 0 / 374.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.1207, allocations: 7.938 kB / 374.9 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.000635/0.1213, allocations: 87.67 kB / 374.9 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.1214, allocations: 15.98 kB / 375 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.033e-05/0.1215, allocations: 11.94 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.1215, allocations: 7.984 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.646e-05/0.1215, allocations: 7.875 kB / 375 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1216, allocations: 4 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1218, allocations: 83.91 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.1218, allocations: 4 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.1218, allocations: 7.938 kB / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1221, allocations: 91.8 kB / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1221, allocations: 0 / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1221, allocations: 0 / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1221, 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.0005114/0.1226, allocations: 351.4 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1227, allocations: 8.031 kB / 375.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.1227, allocations: 4.875 kB / 375.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1229, allocations: 172.4 kB / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1229, allocations: 384 / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1229, allocations: 8.375 kB / 375.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.123, allocations: 34.27 kB / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.123, allocations: 192 / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.123, allocations: 3.938 kB / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1231, allocations: 0 / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.1231, allocations: 3.984 kB / 375.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.1235, allocations: 248.9 kB / 376 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.729e-05/0.1236, allocations: 26.58 kB / 376 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.1236, allocations: 12.86 kB / 376 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.1237, allocations: 0 / 376 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.1238, allocations: 55.39 kB / 376.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.1238, allocations: 0 / 376.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002/0.124, allocations: 61.52 kB / 376.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.1241, allocations: 59.41 kB / 376.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1242, allocations: 105.8 kB / 376.3 MB, free: 13.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1242, allocations: 29.7 kB / 376.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.1243, allocations: 80.14 kB / 376.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1243, allocations: 7.906 kB / 376.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1244, allocations: 13.72 kB / 376.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1245, allocations: 322.8 kB / 376.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.1246, allocations: 4 kB / 376.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.1246, allocations: 25.66 kB / 376.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/0.1247, allocations: 33.64 kB / 376.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1247, allocations: 4 kB / 376.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.808e-05/0.1248, allocations: 57.56 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1248, allocations: 4 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1248, allocations: 0 / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1248, allocations: 3.938 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.1249, allocations: 8 kB / 376.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1249, allocations: 4.031 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.125, allocations: 7.906 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.125, allocations: 7.984 kB / 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 8.2e-05/0.1251, allocations: 113.8 kB / 377 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.1251, allocations: 0 / 377 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.1251, allocations: 7.906 kB / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1251, allocations: 0 / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1251, allocations: 0 / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1251, allocations: 4 kB / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1254, allocations: 294.5 kB / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1254, allocations: 0 / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.1254, allocations: 4.375 kB / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1254, allocations: 0 / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1254, allocations: 4 kB / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1254, allocations: 0 / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1254, allocations: 0 / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.1256, allocations: 147.5 kB / 377.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.1256, allocations: 88.95 kB / 377.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.1256, allocations: 0 / 377.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.1257, allocations: 7.984 kB / 377.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.1257, allocations: 3.938 kB / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1257, allocations: 0 / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.943e-05/0.1258, allocations: 83.28 kB / 377.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1258, allocations: 4 kB / 377.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000252/0.126, allocations: 23.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.0003626/0.1264, allocations: 190.8 kB / 377.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1265, allocations: 23.98 kB / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1265, allocations: 0 / 377.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.51e-05/0.1265, allocations: 8 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.0002029/0.1268, allocations: 12 kB / 377.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.127, allocations: 113.4 kB / 378 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1273, allocations: 0.6807 MB / 378.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.1273, allocations: 7.984 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.1273, allocations: 7.438 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1273, allocations: 0 / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of Templates: time 0.00379/0.1311, allocations: 0.9569 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)