Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007938/0.007938, allocations: 100.8 kB / 15.73 MB, free: 5.586 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.001397/0.001397, allocations: 195.3 kB / 16.67 MB, free: 5.523 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02875/0.02875, allocations: 3.901 MB / 294.4 MB, free: 11.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.86 kB / 406.9 MB, free: 28.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 50.18 MB / 457.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002894/0.1198, allocations: 1.474 MB / 458.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1218, allocations: 1.059 MB / 459.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.1219, allocations: 0 / 459.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.122, allocations: 11.81 kB / 459.6 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.1223, allocations: 19.86 kB / 459.6 MB, free: 7.363 MB / 334.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.1229, allocations: 183.4 kB / 459.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1231, allocations: 123.7 kB / 459.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1232, allocations: 19.92 kB / 460 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.305e-05/0.1233, allocations: 39.84 kB / 460 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.1234, allocations: 39.83 kB / 460 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1234, allocations: 4 kB / 460 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.1237, allocations: 179.7 kB / 460.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.1238, allocations: 15.98 kB / 460.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.1238, allocations: 39.73 kB / 460.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.1242, allocations: 199.5 kB / 460.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1242, allocations: 11.94 kB / 460.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1242, allocations: 0 / 460.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1242, allocations: 0 / 460.5 MB, free: 6.523 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006244/0.1248, allocations: 427 kB / 460.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1249, allocations: 8.031 kB / 460.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004068/0.1253, allocations: 56.72 kB / 461 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1256, allocations: 214.9 kB / 461.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1256, allocations: 4.375 kB / 461.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1256, allocations: 12.12 kB / 461.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1258, allocations: 85.58 kB / 461.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1259, allocations: 0 / 461.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1259, allocations: 0 / 461.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1259, allocations: 3.984 kB / 461.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.126, allocations: 59.89 kB / 461.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.1266, allocations: 352.8 kB / 461.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1268, allocations: 82.56 kB / 461.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/0.1269, allocations: 40.84 kB / 461.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1269, allocations: 0 / 461.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.127, allocations: 34.72 kB / 461.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.127, allocations: 0 / 461.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003945/0.1274, allocations: 169.3 kB / 462 MB, free: 4.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.1274, allocations: 51.41 kB / 462.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1276, allocations: 149.4 kB / 462.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1276, allocations: 29.7 kB / 462.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.1276, allocations: 92.14 kB / 462.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1277, allocations: 31.58 kB / 462.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.1277, allocations: 33.7 kB / 462.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.1278, allocations: 322.8 kB / 462.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.1279, allocations: 31.98 kB / 462.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.128, allocations: 39.97 kB / 462.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.1282, allocations: 80.77 kB / 462.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1282, allocations: 0 / 462.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002612/0.1285, allocations: 137.3 kB / 463 MB, free: 3.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1285, allocations: 12 kB / 463 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1285, allocations: 0 / 463 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1285, allocations: 0 / 463 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1287, allocations: 23.97 kB / 463 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1287, allocations: 0 / 463 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.1287, allocations: 7.938 kB / 463 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.1288, allocations: 27.95 kB / 463 MB, free: 3.73 MB / 334.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: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.443e-05/0.1289, allocations: 122.2 kB / 463.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1289, allocations: 7.906 kB / 463.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.129, allocations: 24.7 kB / 463.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.129, allocations: 3.938 kB / 463.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.129, allocations: 4 kB / 463.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.129, allocations: 3.938 kB / 463.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1293, allocations: 209.5 kB / 463.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1293, allocations: 0 / 463.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.1294, allocations: 19.97 kB / 463.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1294, allocations: 0 / 463.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1294, allocations: 0 / 463.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1294, allocations: 4 kB / 463.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1294, allocations: 4 kB / 463.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.1297, allocations: 215.3 kB / 463.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.1298, allocations: 100.9 kB / 463.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1298, allocations: 8 kB / 463.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.1299, allocations: 0 / 463.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.13, allocations: 11.92 kB / 463.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.13, allocations: 27.95 kB / 463.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1301, allocations: 111.3 kB / 463.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.854e-06/0.1301, allocations: 0 / 463.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.1305, allocations: 55.92 kB / 464 MB, free: 2.719 MB / 334.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: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.000491/0.131, allocations: 241 kB / 464.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1312, allocations: 91.89 kB / 464.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1312, allocations: 0 / 464.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1314, allocations: 43.97 kB / 464.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1316, allocations: 8 kB / 464.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.1321, allocations: 213.9 kB / 464.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1323, allocations: 0.7001 MB / 465.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.486e-05/0.1324, allocations: 32.58 kB / 465.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.1325, allocations: 19.42 kB / 465.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1325, allocations: 0 / 465.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of Templates: time 0.005346/0.1379, allocations: 2.23 MB / 467.5 MB, free: 15.14 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)