Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.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.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001789/0.001789, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02521/0.02521, allocations: 3.911 MB / 295.1 MB, free: 11.04 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.69 kB / 407.6 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06578/0.06703, allocations: 50.18 MB / 457.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002738/0.0698, allocations: 1.991 MB / 459.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.07216, allocations: 1.507 MB / 461.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.07232, allocations: 7.938 kB / 461.3 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.07248, allocations: 47.47 kB / 461.3 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006702/0.07316, allocations: 259 kB / 461.6 MB, free: 6.207 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.07388, allocations: 343.1 kB / 461.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.07445, allocations: 0.6317 MB / 462.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.07464, allocations: 98.02 kB / 462.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.07494, allocations: 263.2 kB / 462.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.07525, allocations: 275 kB / 463.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.07537, allocations: 64 kB / 463.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005118/0.07589, allocations: 351.5 kB / 463.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.07603, allocations: 127.6 kB / 463.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.07625, allocations: 242.9 kB / 463.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007448/0.077, allocations: 0.7091 MB / 464.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.07701, allocations: 0 / 464.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.07702, allocations: 0 / 464.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.07704, allocations: 3.938 kB / 464.6 MB, free: 3.125 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002809/0.07985, allocations: 2.447 MB / 467.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.07989, allocations: 15.97 kB / 467.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.0812, allocations: 164.3 kB / 467.3 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/0.08185, allocations: 371.9 kB / 467.6 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.08193, allocations: 37.02 kB / 467.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.862e-05/0.08203, allocations: 44.28 kB / 467.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.08321, allocations: 0.564 MB / 468.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.08323, allocations: 192 / 468.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/0.08329, allocations: 19.94 kB / 468.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.0833, allocations: 4 kB / 468.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.08482, allocations: 0.6308 MB / 468.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.08673, allocations: 1.135 MB / 470.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.08804, allocations: 0.6359 MB / 470.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008842/0.08893, allocations: 0.5096 MB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.08899, allocations: 8.328 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.0901, allocations: 0.7481 MB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 2.215e-06/0.09012, allocations: 3.938 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002853/0.09297, allocations: 1.377 MB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.09306, allocations: 130.8 kB / 473.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.0933, allocations: 254.5 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.09336, allocations: 37.7 kB / 473.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.09346, allocations: 161 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.0936, allocations: 173.5 kB / 474.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.09382, allocations: 122.2 kB / 474.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.09394, allocations: 354.7 kB / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/0.09476, allocations: 349 kB / 474.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/0.09555, allocations: 349.3 kB / 475.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.09718, allocations: 0.8236 MB / 476.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.09719, allocations: 3.938 kB / 476.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001885/0.09908, allocations: 0.9213 MB / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.09918, allocations: 99.36 kB / 477.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.09919, allocations: 0 / 477.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.09921, allocations: 0 / 477.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/0.09999, allocations: 143.8 kB / 477.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.1, allocations: 0 / 477.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.1004, allocations: 63.5 kB / 477.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/0.1005, allocations: 51.92 kB / 477.3 MB, free: 6.074 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: 26 (globalSeed.seed,noise2.actualGlobalSeed,noise2.localSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise1.localSeed,noise2.r,noise2.bufferStartTime,noise2.buffer[2],noise2.buffer[1],noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],noise1.r,noise1.bufferStartTime,noise1.buffer[2],noise1.buffer[1],noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 2 * 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.0003079/0.1008, allocations: 291.8 kB / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.1009, allocations: 47.53 kB / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.1032, allocations: 1.131 MB / 478.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.1032, allocations: 7.922 kB / 478.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1032, allocations: 0 / 478.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1033, allocations: 112.6 kB / 478.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1034, allocations: 31.98 kB / 478.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.1039, allocations: 51.94 kB / 479 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.1041, allocations: 63.86 kB / 479.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00293/0.1071, allocations: 1.422 MB / 480.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003323/0.1104, allocations: 1.839 MB / 482.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001097/0.1115, allocations: 0.7042 MB / 483 MB, free: 252 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1117, allocations: 178 kB / 483.2 MB, free: 68 kB / 350.1 MB Notification: Performance of Backend: time 3e-07/0.1117, allocations: 0 / 483.2 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.1138, allocations: 1.115 MB / 484.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of SimCode: time 0.001226/0.115, allocations: 1.305 MB / 485.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01612/0.1312, allocations: 10.61 MB / 496.2 MB, free: 3.039 MB / 366.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1)