Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000854/0.0008543, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006672/0.006673, allocations: 169.9 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.153/0.153, allocations: 3.875 MB / 295.3 MB, free: 3.977 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.000321, allocations: 8 kB / 357.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 51.17 MB / 408.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002156/0.1054, allocations: 1.254 MB / 409.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.1077, allocations: 1.118 MB / 410.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.742e-05/0.1078, allocations: 0 / 410.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.1079, allocations: 15.86 kB / 410.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.108, allocations: 7.938 kB / 410.8 MB, free: 13.58 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007319/0.1087, allocations: 207.5 kB / 411 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.109, allocations: 147.6 kB / 411.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1091, allocations: 9.406 kB / 411.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.1093, allocations: 59.75 kB / 411.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1094, allocations: 47.77 kB / 411.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.1094, allocations: 8 kB / 411.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.1099, allocations: 207.7 kB / 411.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.11, allocations: 19.86 kB / 411.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.1101, allocations: 85.42 kB / 411.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.1106, allocations: 271.3 kB / 411.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1106, allocations: 3.938 kB / 411.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1106, allocations: 0 / 411.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1106, allocations: 0 / 411.9 MB, free: 12.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001585/0.1122, allocations: 1.305 MB / 413.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1123, allocations: 12.03 kB / 413.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.1126, allocations: 48.78 kB / 413.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.1129, allocations: 216 kB / 413.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1129, allocations: 12.36 kB / 413.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.113, allocations: 8.375 kB / 413.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.1133, allocations: 169.9 kB / 413.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1133, allocations: 7.875 kB / 413.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.1134, allocations: 7.984 kB / 413.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1134, allocations: 0 / 413.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.1137, allocations: 143.9 kB / 413.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.1143, allocations: 372.5 kB / 414.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.1147, allocations: 222.5 kB / 414.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.115, allocations: 184.9 kB / 414.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.115, allocations: 0 / 414.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/0.1154, allocations: 304.3 kB / 414.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.1154, allocations: 0 / 414.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009398/0.1163, allocations: 491.2 kB / 415.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.1164, allocations: 89.11 kB / 415.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1166, allocations: 162.2 kB / 415.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1166, allocations: 25.7 kB / 415.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.1167, allocations: 104.5 kB / 415.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1167, allocations: 43.47 kB / 415.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.1168, allocations: 25.72 kB / 415.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1169, allocations: 326.8 kB / 416.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.1171, allocations: 95.91 kB / 416.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1173, allocations: 103.9 kB / 416.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.1178, allocations: 282.4 kB / 416.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1178, allocations: 0 / 416.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005332/0.1183, allocations: 307.1 kB / 416.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.1184, allocations: 57.61 kB / 416.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1184, allocations: 0 / 416.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1184, allocations: 0 / 416.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1186, allocations: 35.92 kB / 416.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1186, allocations: 0 / 416.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-05/0.1187, allocations: 19.89 kB / 417 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.1187, allocations: 19.97 kB / 417 MB, free: 7.109 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (globalSeed.seed,discreteNoise.actualGlobalSeed,discreteNoise.localSeed,globalSeed.id_impure,discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001842/0.1189, allocations: 187.4 kB / 417.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.119, allocations: 19.91 kB / 417.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.119, allocations: 12.83 kB / 417.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.119, allocations: 4.062 kB / 417.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1191, allocations: 4 kB / 417.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1191, allocations: 0 / 417.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.1193, allocations: 225.4 kB / 417.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1193, allocations: 0 / 417.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.737e-05/0.1194, allocations: 15.98 kB / 417.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1194, allocations: 0 / 417.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.1194, allocations: 19.92 kB / 417.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1194, allocations: 0 / 417.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1194, allocations: 0 / 417.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1204, allocations: 0.6038 MB / 418.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.1205, allocations: 85.05 kB / 418.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.1205, allocations: 12 kB / 418.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.1206, allocations: 11.98 kB / 418.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.1207, allocations: 20.05 kB / 418.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.1208, allocations: 23.95 kB / 418.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.871e-05/0.1208, allocations: 120.1 kB / 418.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1208, allocations: 0 / 418.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.1212, allocations: 87.98 kB / 418.4 MB, free: 5.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0005434/0.1218, allocations: 249.3 kB / 418.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000687/0.1225, allocations: 451.2 kB / 419.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1225, allocations: 0 / 419.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.1229, allocations: 363.3 kB / 419.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1232, allocations: 35.97 kB / 419.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.1238, allocations: 399.8 kB / 419.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1242, allocations: 0.7121 MB / 420.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.317e-05/0.1242, allocations: 12.66 kB / 420.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.1243, allocations: 15.42 kB / 420.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1243, allocations: 0 / 420.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of Templates: time 0.006015/0.1303, allocations: 3.007 MB / 423.6 MB, free: 328 kB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile Environment - environmentSimulation: (rm -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.sim & ./AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) Environment - environmentSimulation: