Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 116.1 kB / 17.06 MB, free: 5.812 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.00195/0.00195, allocations: 196 kB / 18.01 MB, free: 4.938 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.825/1.825, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001193/0.001193, allocations: 51.94 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1209, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003154/0.1241, allocations: 1.832 MB / 376.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1262, allocations: 1.271 MB / 377.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.32e-05/0.1263, allocations: 0 / 377.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.1264, allocations: 23.67 kB / 377.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.523e-05/0.1265, allocations: 31.72 kB / 377.7 MB, free: 1.383 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.0008733/0.1274, allocations: 327 kB / 378 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.1276, allocations: 219.5 kB / 378.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1278, allocations: 60.25 kB / 378.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1279, allocations: 103.6 kB / 378.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1281, allocations: 111.5 kB / 378.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.009e-05/0.1281, allocations: 20 kB / 378.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.1286, allocations: 295.5 kB / 378.8 MB, free: 276 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.1287, allocations: 55.81 kB / 378.8 MB, free: 220 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1288, allocations: 103.4 kB / 378.9 MB, free: 116 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2705/0.3993, allocations: 392.6 kB / 379.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.3994, allocations: 0 / 379.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3994, allocations: 0 / 379.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3994, allocations: 1.094 kB / 379.3 MB, free: 10.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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00134/0.4007, allocations: 0.5875 MB / 379.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4008, allocations: 8.406 kB / 379.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.4011, allocations: 37.88 kB / 379.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.4014, allocations: 241.4 kB / 380.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.4014, allocations: 16.91 kB / 380.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.4015, allocations: 19.88 kB / 380.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.402, allocations: 193.8 kB / 380.4 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.402, allocations: 6.781 kB / 380.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.4021, allocations: 4.844 kB / 380.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.4021, allocations: 3.906 kB / 380.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.4025, allocations: 152.7 kB / 380.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4036, allocations: 0.575 MB / 381.1 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.4048, allocations: 303.1 kB / 381.4 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.4051, allocations: 112.6 kB / 381.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4052, allocations: 8.469 kB / 381.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004498/0.4056, allocations: 167.5 kB / 381.7 MB, free: 9.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.4056, allocations: 2.406 kB / 381.7 MB, free: 9.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00122/0.4069, allocations: 360.4 kB / 382.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.4069, allocations: 66 kB / 382.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.4072, allocations: 207.9 kB / 382.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.4072, allocations: 39.69 kB / 382.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.671e-05/0.4073, allocations: 131.2 kB / 382.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.4074, allocations: 80.28 kB / 382.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.4075, allocations: 64.88 kB / 382.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.4076, allocations: 334.4 kB / 383 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.408, allocations: 133.4 kB / 383.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.4084, allocations: 159.7 kB / 383.3 MB, free: 8.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.409, allocations: 271.2 kB / 383.5 MB, free: 8.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4091, allocations: 0 / 383.5 MB, free: 8.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008748/0.4099, allocations: 380.9 kB / 383.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.41, allocations: 9.531 kB / 383.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.41, allocations: 0 / 383.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.41, allocations: 2.156 kB / 383.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.4103, allocations: 70.98 kB / 384 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4104, allocations: 2.172 kB / 384 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.4105, allocations: 46.44 kB / 384 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.4106, allocations: 12.28 kB / 384 MB, free: 8.328 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: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001484/0.4107, allocations: 153.7 kB / 384.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.4108, allocations: 16.66 kB / 384.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-05/0.4109, allocations: 22.25 kB / 384.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4109, allocations: 4.312 kB / 384.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.4109, allocations: 4 kB / 384.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4109, allocations: 2.422 kB / 384.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.4121, allocations: 0.6357 MB / 384.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4121, allocations: 0.6094 kB / 384.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4124, allocations: 42.42 kB / 384.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4124, allocations: 1.875 kB / 384.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.4124, allocations: 7.781 kB / 384.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4124, allocations: 3.719 kB / 384.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4124, allocations: 1.156 kB / 384.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4134, allocations: 489.6 kB / 385.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.4135, allocations: 102.3 kB / 385.5 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.4135, allocations: 9.734 kB / 385.5 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.4137, allocations: 20.69 kB / 385.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.4138, allocations: 15.56 kB / 385.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4138, allocations: 6.328 kB / 385.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.414, allocations: 151.2 kB / 385.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.414, allocations: 0 / 385.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006181/0.4146, allocations: 111.1 kB / 385.8 MB, free: 7.508 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006653/0.4153, allocations: 291.5 kB / 386.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008331/0.4161, allocations: 274 kB / 386.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.4161, allocations: 4.062 kB / 386.4 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.4165, allocations: 117 kB / 386.5 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.4168, allocations: 32.84 kB / 386.5 MB, free: 7.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009785/0.4178, allocations: 464.2 kB / 387 MB, free: 7.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4181, allocations: 0.735 MB / 387.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.4182, allocations: 33.28 kB / 387.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.4183, allocations: 25.86 kB / 387.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4183, allocations: 1.906 kB / 387.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of Templates: time 0.01134/0.4297, allocations: 3.782 MB / 391.5 MB, free: 6.074 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)