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.0008568/0.0008569, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0008983/0.0008983, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1436/0.1436, allocations: 3.881 MB / 294.9 MB, free: 3.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 8 kB / 356.6 MB, free: 3.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 51.17 MB / 407.8 MB, free: 296 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002046/0.1206, allocations: 1.685 MB / 409.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.123, allocations: 1.558 MB / 411 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1232, allocations: 4 kB / 411 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.1233, allocations: 31.67 kB / 411.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005793/0.1239, allocations: 179.4 kB / 411.2 MB, free: 12.82 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.0005861/0.1245, allocations: 295.1 kB / 411.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.1249, allocations: 323.4 kB / 411.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1251, allocations: 90.11 kB / 411.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.1252, allocations: 171.4 kB / 412.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1255, allocations: 219.2 kB / 412.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.1256, allocations: 20 kB / 412.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.1261, allocations: 327.5 kB / 412.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.473e-05/0.1262, allocations: 91.67 kB / 412.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.812e-05/0.1263, allocations: 73.52 kB / 412.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.1269, allocations: 0.5538 MB / 413.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1269, allocations: 0 / 413.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1269, allocations: 0 / 413.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1269, allocations: 4 kB / 413.4 MB, free: 10.68 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.001095/0.128, allocations: 0.6223 MB / 414 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1281, allocations: 12.03 kB / 414 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.533e-05/0.1282, allocations: 70.53 kB / 414.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.1292, allocations: 107.3 kB / 414.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.1298, allocations: 354.1 kB / 414.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.1299, allocations: 28.66 kB / 414.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/0.13, allocations: 55.84 kB / 414.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.131, allocations: 477.7 kB / 415.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.131, allocations: 0 / 415.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.1311, allocations: 12 kB / 415.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1311, allocations: 12 kB / 415.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.1324, allocations: 0.5296 MB / 415.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.1343, allocations: 1.19 MB / 416.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1357, allocations: 0.5581 MB / 417.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.1358, allocations: 8.438 kB / 417.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1358, allocations: 38.98 kB / 417.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.1358, allocations: 3.938 kB / 417.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002174/0.138, allocations: 0.8539 MB / 418.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1381, allocations: 55.84 kB / 418.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1383, allocations: 233 kB / 418.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.1383, allocations: 33.7 kB / 418.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1385, allocations: 168.9 kB / 418.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.1386, allocations: 157.6 kB / 418.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1387, allocations: 12 kB / 418.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1388, allocations: 342.8 kB / 419.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006645/0.1395, allocations: 273 kB / 419.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.1401, allocations: 272.9 kB / 419.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.1408, allocations: 270 kB / 420.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1408, allocations: 0 / 420.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001557/0.1424, allocations: 0.6937 MB / 420.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1424, allocations: 7.984 kB / 420.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1424, allocations: 0 / 420.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1425, allocations: 4 kB / 420.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.1432, allocations: 147.8 kB / 420.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1433, allocations: 11.97 kB / 420.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.1436, allocations: 63.5 kB / 421 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.1437, allocations: 23.98 kB / 421 MB, free: 2.809 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 (noise1.localSeed,noise2.localSeed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.1439, allocations: 161.7 kB / 421.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.144, allocations: 35.58 kB / 421.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.1459, allocations: 0.8383 MB / 422 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/0.146, allocations: 11.98 kB / 422.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.146, allocations: 7.922 kB / 422.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.146, allocations: 0 / 422.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008346/0.1469, allocations: 0.6105 MB / 422.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.1469, allocations: 8 kB / 422.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/0.1476, allocations: 123.8 kB / 422.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1477, allocations: 0 / 422.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.1477, allocations: 19.98 kB / 422.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.1477, allocations: 4 kB / 422.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1477, allocations: 3.984 kB / 422.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2027/0.3504, allocations: 1.191 MB / 424 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3506, allocations: 119.8 kB / 424.1 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.3507, allocations: 15.84 kB / 424.2 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.3511, allocations: 36.55 kB / 424.2 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.3513, allocations: 57.11 kB / 424.2 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.3514, allocations: 25.58 kB / 424.3 MB, free: 45.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.3515, allocations: 161.4 kB / 424.4 MB, free: 45.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3516, allocations: 0.9375 kB / 424.4 MB, free: 45.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006412/0.3522, allocations: 167.3 kB / 424.6 MB, free: 45.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003181/0.3554, allocations: 1.992 MB / 426.6 MB, free: 45.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3568, allocations: 0.6637 MB / 427.2 MB, free: 45.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3568, allocations: 0 / 427.2 MB, free: 45.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007077/0.3575, allocations: 490.2 kB / 427.7 MB, free: 45.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3578, allocations: 22.97 kB / 427.7 MB, free: 45.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3596, allocations: 1.441 MB / 429.2 MB, free: 44.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.3598, allocations: 0.8255 MB / 430 MB, free: 43.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004342/0.3602, allocations: 94.53 kB / 430.1 MB, free: 43.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.3605, allocations: 150.9 kB / 430.3 MB, free: 43.69 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3605, allocations: 4 kB / 430.3 MB, free: 43.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.3802, allocations: 10.24 MB / 440.5 MB, free: 42.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.3805, allocations: 240.4 kB / 440.7 MB, free: 42.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.275, allocations: 4 kB / 440.7 MB, free: 42.59 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/linux/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) Environment - environmentSimulation: