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.001491/0.001492, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001324/0.001324, allocations: 196 kB / 18 MB, free: 5.105 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.849/1.849, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001314/0.001314, allocations: 55.92 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 46.61 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003411/0.1169, allocations: 1.343 MB / 375.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1181, allocations: 355.7 kB / 376.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.1182, allocations: 0 / 376.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.1182, allocations: 3.938 kB / 376.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.65e-05/0.1183, allocations: 0 / 376.2 MB, free: 2.883 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.0008077/0.1191, allocations: 87.66 kB / 376.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1193, allocations: 19.98 kB / 376.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.444e-05/0.1193, allocations: 4 kB / 376.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.1194, allocations: 11.94 kB / 376.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.1194, allocations: 3.984 kB / 376.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1194, allocations: 4 kB / 376.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.1197, allocations: 87.84 kB / 376.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.1198, allocations: 11.88 kB / 376.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.1198, allocations: 7.984 kB / 376.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.1201, allocations: 83.81 kB / 376.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.1201, allocations: 0 / 376.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1201, allocations: 7.938 kB / 376.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1202, allocations: 0 / 376.5 MB, free: 2.559 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.0006385/0.1208, allocations: 347.4 kB / 376.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.1209, allocations: 8.031 kB / 376.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.1209, allocations: 0.9375 kB / 376.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.1211, allocations: 172.3 kB / 377 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1212, allocations: 384 / 377 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1212, allocations: 8.375 kB / 377 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.1213, allocations: 30.27 kB / 377 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1213, allocations: 4.188 kB / 377 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1214, allocations: 11.91 kB / 377.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.1214, allocations: 0 / 377.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.1214, allocations: 0 / 377.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.1219, allocations: 248.9 kB / 377.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.737e-05/0.122, allocations: 22.52 kB / 377.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.122, allocations: 20.86 kB / 377.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1221, allocations: 0 / 377.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.1223, allocations: 55.39 kB / 377.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.1223, allocations: 3.938 kB / 377.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002579/0.1226, allocations: 53.62 kB / 377.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.1227, allocations: 51.41 kB / 377.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1228, allocations: 109.8 kB / 377.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1228, allocations: 33.7 kB / 377.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.1229, allocations: 80.14 kB / 377.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.1229, allocations: 3.906 kB / 377.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.123, allocations: 17.72 kB / 377.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1231, allocations: 322.8 kB / 378.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.1231, allocations: 4 kB / 378.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.1232, allocations: 21.7 kB / 378.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.1232, allocations: 30.03 kB / 378.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1232, allocations: 0 / 378.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.639e-05/0.1233, allocations: 61.62 kB / 378.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1234, allocations: 4 kB / 378.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1234, allocations: 4 kB / 378.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1234, allocations: 0 / 378.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.1235, allocations: 11.94 kB / 378.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1235, allocations: 0 / 378.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.1235, allocations: 7.891 kB / 378.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1235, allocations: 11.97 kB / 378.2 MB, free: 0.5938 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.976e-05/0.1236, allocations: 117.8 kB / 378.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.1236, allocations: 0 / 378.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.1237, allocations: 3.906 kB / 378.3 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1237, allocations: 0 / 378.3 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1237, allocations: 0 / 378.3 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1237, allocations: 4 kB / 378.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.124, allocations: 290.5 kB / 378.6 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.124, allocations: 0 / 378.6 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.124, allocations: 8 kB / 378.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.124, allocations: 3.938 kB / 378.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.124, allocations: 288 / 378.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.124, allocations: 0 / 378.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.124, allocations: 0 / 378.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2548/0.3789, allocations: 146.4 kB / 378.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.3789, allocations: 82.55 kB / 378.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.379, allocations: 2.844 kB / 378.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.379, allocations: 0.875 kB / 378.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.3791, allocations: 3.219 kB / 378.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.3791, allocations: 4.156 kB / 378.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.3791, allocations: 85.73 kB / 378.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3792, allocations: 0 / 378.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.3795, allocations: 25.14 kB / 379 MB, free: 12.68 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.000429/0.38, allocations: 185.8 kB / 379.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3801, allocations: 26.31 kB / 379.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3801, allocations: 0 / 379.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.3802, allocations: 10.14 kB / 379.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.3804, allocations: 2.219 kB / 379.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.3807, allocations: 121.2 kB / 379.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.3808, allocations: 0.6771 MB / 380 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.3809, allocations: 9.75 kB / 380 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.3809, allocations: 12.02 kB / 380 MB, free: 11.75 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3809, allocations: 0 / 380 MB, free: 11.75 MB / 318.1 MB Notification: Performance of Templates: time 0.003874/0.3848, allocations: 0.9678 MB / 381 MB, free: 11.67 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)