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.009471/0.009471, 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.001536/0.001535, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.927/1.927, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001213/0.001213, allocations: 52.56 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003016/0.1194, allocations: 1.32 MB / 374.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008461/0.1202, allocations: 352 kB / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.1203, allocations: 0 / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.1204, allocations: 3.938 kB / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.1204, allocations: 7.984 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.0005738/0.121, allocations: 91.64 kB / 374.9 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.1211, allocations: 19.88 kB / 375 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.1212, allocations: 8 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.1212, allocations: 11.97 kB / 375 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.1212, allocations: 7.938 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1213, allocations: 0 / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.1214, allocations: 91.84 kB / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.1215, allocations: 0 / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.1215, allocations: 11.94 kB / 375.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1217, allocations: 87.81 kB / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1217, allocations: 0 / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1217, allocations: 0 / 375.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1218, 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.000457/0.1222, allocations: 347.4 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1223, allocations: 15.97 kB / 375.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1223, allocations: 0.9375 kB / 375.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1224, allocations: 164.4 kB / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1225, allocations: 384 / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1225, allocations: 384 / 375.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1226, allocations: 46.19 kB / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1226, allocations: 192 / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1226, allocations: 3.938 kB / 375.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1226, allocations: 4 kB / 375.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.1227, allocations: 0 / 375.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.123, allocations: 241 kB / 376 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.718e-05/0.1231, allocations: 30.56 kB / 376 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.1232, allocations: 20.84 kB / 376 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.1232, allocations: 3.938 kB / 376 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1233, allocations: 51.41 kB / 376.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1233, allocations: 0 / 376.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001912/0.1235, allocations: 53.59 kB / 376.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1236, allocations: 51.41 kB / 376.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1237, allocations: 113.8 kB / 376.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1237, allocations: 29.7 kB / 376.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.1238, allocations: 88.08 kB / 376.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1238, allocations: 7.891 kB / 376.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.1239, allocations: 17.72 kB / 376.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.124, allocations: 314.8 kB / 376.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.124, allocations: 7.984 kB / 376.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.1241, allocations: 25.72 kB / 376.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.1241, allocations: 21.72 kB / 376.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1241, allocations: 0 / 376.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.919e-05/0.1242, allocations: 65.5 kB / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1242, allocations: 8 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1242, allocations: 3.938 kB / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1243, allocations: 0 / 376.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.1243, allocations: 11.98 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1243, allocations: 0 / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.1244, allocations: 7.938 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-06/0.1244, allocations: 4 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 0.0001276/0.1245, allocations: 117.7 kB / 377 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.1245, allocations: 4 kB / 377 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.1246, allocations: 7.891 kB / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1246, allocations: 0 / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1246, allocations: 0 / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1246, allocations: 0 / 377 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1248, allocations: 294.6 kB / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1249, allocations: 0 / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.1249, allocations: 0 / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1249, allocations: 0 / 377.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1249, allocations: 4 kB / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1249, allocations: 0 / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1249, allocations: 0 / 377.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.125, allocations: 151.7 kB / 377.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.1251, allocations: 88.95 kB / 377.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1251, allocations: 4 kB / 377.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.1252, allocations: 432 / 377.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1252, allocations: 7.984 kB / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1252, allocations: 0 / 377.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.625e-05/0.1253, allocations: 87.27 kB / 377.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1253, allocations: 0 / 377.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1255, allocations: 28 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.0003838/0.1259, allocations: 178.6 kB / 377.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.1261, allocations: 23.92 kB / 377.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1261, allocations: 0 / 377.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.499e-05/0.1261, allocations: 12 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.0001983/0.1263, allocations: 8.047 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.0003087/0.1266, allocations: 113.7 kB / 378 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1269, allocations: 0.6845 MB / 378.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.1269, allocations: 7.984 kB / 378.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.127, allocations: 11.44 kB / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of SimCode: time 1.903e-06/0.127, allocations: 0 / 378.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of Templates: time 0.003964/0.1309, allocations: 0.9527 MB / 379.7 MB, free: 10.4 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)