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: "" <> buildModelFMU(AdvancedNoise.Examples.TimeBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.TimeBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007401/0.0007402, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004495/0.004495, allocations: 170.1 kB / 16.26 MB, free: 6.676 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: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1512/0.1512, allocations: 3.882 MB / 295.3 MB, free: 3.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002773, allocations: 8 kB / 357.3 MB, free: 3.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09061, allocations: 51.17 MB / 408.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.001845/0.09248, allocations: 1.708 MB / 410.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.09474, allocations: 1.538 MB / 411.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.09486, allocations: 0 / 411.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.09499, allocations: 35.66 kB / 411.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.0956, allocations: 207.4 kB / 412 MB, free: 12.37 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.0005568/0.09617, allocations: 291.5 kB / 412.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.09666, allocations: 0.5731 MB / 412.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.09684, allocations: 90.02 kB / 412.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.09708, allocations: 207.2 kB / 413.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.09737, allocations: 235 kB / 413.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.09743, allocations: 23.94 kB / 413.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.09792, allocations: 315.5 kB / 413.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.09802, allocations: 75.72 kB / 413.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.09824, allocations: 220.6 kB / 414 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.09894, allocations: 0.6818 MB / 414.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.09896, allocations: 0 / 414.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.09896, allocations: 3.938 kB / 414.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.381e-06/0.09898, allocations: 0 / 414.7 MB, free: 9.672 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002818/0.1018, allocations: 2.369 MB / 417 MB, free: 7.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1019, allocations: 16.02 kB / 417.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.594e-05/0.102, allocations: 62.73 kB / 417.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.1032, allocations: 168.3 kB / 417.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.1038, allocations: 375.9 kB / 417.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.1039, allocations: 32.94 kB / 417.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/0.104, allocations: 44.28 kB / 417.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1052, allocations: 0.5875 MB / 418.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1052, allocations: 3.938 kB / 418.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.1053, allocations: 12 kB / 418.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1053, allocations: 8 kB / 418.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.1069, allocations: 0.6698 MB / 419 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.1088, allocations: 1.151 MB / 420.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.1103, allocations: 0.726 MB / 420.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009459/0.1113, allocations: 0.5213 MB / 421.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.1114, allocations: 12.33 kB / 421.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.1125, allocations: 0.7715 MB / 422.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.465e-06/0.1126, allocations: 0 / 422.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.002937/0.1155, allocations: 1.435 MB / 423.6 MB, free: 476 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/0.1156, allocations: 138.8 kB / 423.8 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1159, allocations: 258.5 kB / 424 MB, free: 40 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.1624/0.2783, allocations: 34.66 kB / 424 MB, free: 46.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.2785, allocations: 149.5 kB / 424.2 MB, free: 46.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.2788, allocations: 184.2 kB / 424.4 MB, free: 46.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.279, allocations: 70.23 kB / 424.4 MB, free: 46.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2792, allocations: 347.9 kB / 424.8 MB, free: 46.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.2803, allocations: 365.1 kB / 425.1 MB, free: 46.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.2814, allocations: 375.5 kB / 425.5 MB, free: 46.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.2832, allocations: 0.8697 MB / 426.4 MB, free: 46.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.2832, allocations: 1.875 kB / 426.4 MB, free: 46.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001815/0.285, allocations: 0.962 MB / 427.3 MB, free: 46.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.2851, allocations: 95.58 kB / 427.4 MB, free: 46.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2851, allocations: 0 / 427.4 MB, free: 46.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2851, allocations: 0 / 427.4 MB, free: 46.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.2858, allocations: 146.8 kB / 427.6 MB, free: 46.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.2859, allocations: 6.781 kB / 427.6 MB, free: 46.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.2863, allocations: 77.83 kB / 427.7 MB, free: 46.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.2865, allocations: 50.47 kB / 427.7 MB, free: 46.11 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 (60): * Single equations (assignments): 58 * 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.0003671/0.2868, allocations: 288.4 kB / 428 MB, free: 45.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.287, allocations: 41.81 kB / 428 MB, free: 45.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.2892, allocations: 1.184 MB / 429.2 MB, free: 45.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.2892, allocations: 11.09 kB / 429.2 MB, free: 45.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2892, allocations: 0 / 429.2 MB, free: 45.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2892, allocations: 3.422 kB / 429.2 MB, free: 45.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.2898, allocations: 0.5958 MB / 429.8 MB, free: 45.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2898, allocations: 0.8438 kB / 429.8 MB, free: 45.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006628/0.2904, allocations: 124.9 kB / 429.9 MB, free: 45.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2905, allocations: 0.9375 kB / 429.9 MB, free: 45.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.2905, allocations: 26.06 kB / 430 MB, free: 45.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-06/0.2905, allocations: 7.094 kB / 430 MB, free: 45.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2905, allocations: 0 / 430 MB, free: 45.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.2932, allocations: 1.728 MB / 431.7 MB, free: 45.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.2933, allocations: 114 kB / 431.8 MB, free: 45.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.2934, allocations: 37.23 kB / 431.9 MB, free: 45.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.2938, allocations: 53.17 kB / 431.9 MB, free: 45.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.294, allocations: 64.23 kB / 432 MB, free: 45.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/0.2941, allocations: 53.52 kB / 432 MB, free: 45.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.2942, allocations: 174 kB / 432.2 MB, free: 45.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2943, allocations: 0 / 432.2 MB, free: 45.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005439/0.2948, allocations: 161.9 kB / 432.4 MB, free: 45.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (crossCorrelationTest.correlation.int_X,crossCorrelationTest.correlation.int_Y,crossCorrelationTest.correlation.int_X2,crossCorrelationTest.correlation.int_Y2,crossCorrelationTest.correlation.int_XY,autoCorrelationTest.correlationTest.correlation.int_X,autoCorrelationTest.correlationTest.correlation.int_Y,autoCorrelationTest.correlationTest.correlation.int_X2,autoCorrelationTest.correlationTest.correlation.int_Y2,autoCorrelationTest.correlationTest.correlation.int_XY) * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noise1.state[1],noise1.state[2],noise1.state[3],noise1.state[4],noise1.buffer[1],noise1.buffer[2],noise1.bufferStartTime,noise1.r,noise2.state[1],noise2.state[2],noise2.state[3],noise2.state[4],noise2.buffer[1],noise2.buffer[2],noise2.bufferStartTime,noise2.r) * Number of discrete states: 20 (noise2.buffer[2],noise2.buffer[1],noise2.r,noise2.bufferStartTime,noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],$whenCondition2,$whenCondition1,noise1.buffer[2],noise1.buffer[1],noise1.r,noise1.bufferStartTime,noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * 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 Backend phase and start with SimCode phase: time 0.003708/0.2985, allocations: 2.494 MB / 434.8 MB, free: 44.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.3005, allocations: 1.263 MB / 436.1 MB, free: 43.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3005, allocations: 192 / 436.1 MB, free: 43.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.3015, allocations: 0.925 MB / 437 MB, free: 43.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3019, allocations: 45.25 kB / 437.1 MB, free: 43.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/0.3093, allocations: 5.326 MB / 442.4 MB, free: 40.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.3096, allocations: 0.8079 MB / 443.2 MB, free: 39.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000414/0.31, allocations: 70.73 kB / 443.3 MB, free: 39.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.3102, allocations: 143.8 kB / 443.4 MB, free: 39.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.595e-06/0.3103, allocations: 4 kB / 443.4 MB, free: 39.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.3337, allocations: 10.8 MB / 454.2 MB, free: 38.77 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.334, allocations: 256.9 kB / 454.5 MB, free: 38.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.384, allocations: 0 / 454.5 MB, free: 38.48 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations.fmu > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1)