Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.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.SignalBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedCorrelations,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations",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.001487/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001724/0.001724, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1121/0.1121, allocations: 3.887 MB / 293.8 MB, free: 3.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 59.91 kB / 354.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09213, allocations: 50.2 MB / 405.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002895/0.09506, allocations: 2.109 MB / 407.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.09741, allocations: 1.698 MB / 408.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.09751, allocations: 7.938 kB / 408.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.09767, allocations: 23.73 kB / 408.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004976/0.09817, allocations: 211.3 kB / 409.1 MB, free: 13.73 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.0005722/0.09875, allocations: 331.3 kB / 409.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.09918, allocations: 0.5381 MB / 410 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.09936, allocations: 103.4 kB / 410.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.09954, allocations: 187.2 kB / 410.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.09976, allocations: 247 kB / 410.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.09983, allocations: 24 kB / 410.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.1003, allocations: 387.4 kB / 410.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1005, allocations: 111.5 kB / 411 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.1006, allocations: 178.9 kB / 411.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006735/0.1013, allocations: 0.7251 MB / 411.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1013, allocations: 3.938 kB / 411.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1013, allocations: 0 / 411.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1013, allocations: 0 / 411.9 MB, free: 10.92 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001151/0.1025, allocations: 0.7043 MB / 412.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1025, allocations: 8.031 kB / 412.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.125e-05/0.1026, allocations: 70.72 kB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.1037, allocations: 164.2 kB / 412.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.1044, allocations: 379 kB / 413.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.1044, allocations: 37.03 kB / 413.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.756e-05/0.1045, allocations: 36.38 kB / 413.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1056, allocations: 474.3 kB / 413.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1056, allocations: 3.938 kB / 413.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.1056, allocations: 8 kB / 413.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1056, allocations: 11.98 kB / 413.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.107, allocations: 0.5217 MB / 414.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.1089, allocations: 1.221 MB / 415.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.1102, allocations: 0.5011 MB / 416 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/0.1109, allocations: 294 kB / 416.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.917e-05/0.111, allocations: 12.41 kB / 416.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.111, allocations: 39 kB / 416.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.563e-06/0.111, allocations: 0 / 416.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002215/0.1132, allocations: 0.8306 MB / 417.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1133, allocations: 59.84 kB / 417.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1135, allocations: 232.9 kB / 417.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.1136, allocations: 33.7 kB / 417.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.734e-05/0.1137, allocations: 164.9 kB / 417.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.1138, allocations: 165.6 kB / 417.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.114, allocations: 114.1 kB / 418 MB, free: 4.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1142, allocations: 346.7 kB / 418.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006852/0.1148, allocations: 265 kB / 418.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.1155, allocations: 276.9 kB / 418.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.1168, allocations: 0.5076 MB / 419.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1168, allocations: 4 kB / 419.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001546/0.1184, allocations: 0.6743 MB / 420 MB, free: 2.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1184, allocations: 7.938 kB / 420 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1184, allocations: 3.984 kB / 420 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1184, allocations: 4 kB / 420 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.1192, allocations: 147.7 kB / 420.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1192, allocations: 4 kB / 420.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.1195, allocations: 59.5 kB / 420.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.1196, allocations: 71.77 kB / 420.3 MB, free: 2.293 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: 6 (globalSeed.seed,noise2.actualGlobalSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise2.localSeed,noise1.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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 0.0001769/0.1198, allocations: 169.6 kB / 420.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.1199, allocations: 27.62 kB / 420.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.1218, allocations: 0.8266 MB / 421.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.166e-05/0.1219, allocations: 19.98 kB / 421.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1219, allocations: 0 / 421.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1219, allocations: 3.984 kB / 421.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007759/0.1227, allocations: 0.6183 MB / 422 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1227, allocations: 3.938 kB / 422 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007288/0.1235, allocations: 115.8 kB / 422.1 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1235, allocations: 0 / 422.1 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.1235, allocations: 27.97 kB / 422.1 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1235, allocations: 4 kB / 422.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1235, allocations: 4 kB / 422.1 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1556/0.2791, allocations: 1.184 MB / 423.3 MB, free: 49.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.2792, allocations: 115.1 kB / 423.4 MB, free: 49.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/0.2793, allocations: 15.41 kB / 423.4 MB, free: 49.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.2797, allocations: 29.7 kB / 423.4 MB, free: 49.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.2798, allocations: 62.7 kB / 423.5 MB, free: 49.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.159e-05/0.2799, allocations: 72.38 kB / 423.6 MB, free: 49.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.2801, allocations: 162.7 kB / 423.7 MB, free: 49.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2801, allocations: 0 / 423.7 MB, free: 49.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.2806, allocations: 173.7 kB / 423.9 MB, free: 49.3 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: 10 ($cse4[1],$cse4[2],$cse6[1],$cse6[2],$cse8[1],$cse8[2],$cse10[1],$cse10[2],noise1.localSeed,noise2.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 47 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.002888/0.2835, allocations: 1.973 MB / 425.9 MB, free: 48.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.2849, allocations: 0.6629 MB / 426.5 MB, free: 48.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2849, allocations: 0 / 426.5 MB, free: 48.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000752/0.2856, allocations: 483 kB / 427 MB, free: 48.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.286, allocations: 35.92 kB / 427.1 MB, free: 48.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.2917, allocations: 4.371 MB / 431.4 MB, free: 45.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.2918, allocations: 0.8132 MB / 432.2 MB, free: 45.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004423/0.2923, allocations: 90.58 kB / 432.3 MB, free: 45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.2926, allocations: 151.8 kB / 432.5 MB, free: 44.91 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2926, allocations: 0 / 432.5 MB, free: 44.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4396/0.7322, allocations: 10.62 MB / 443.1 MB, free: 43.93 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.7325, allocations: 260.2 kB / 443.3 MB, free: 43.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.916, allocations: 3.25 kB / 443.4 MB, free: 43.58 MB / 350.1 MB (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_SignalBasedCorrelations.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1)