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/AdvancedNoise 1.1.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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/AdvancedNoise 1.1.0-master/package.mo): time 0.02679/0.02679, allocations: 3.91 MB / 18.87 MB, free: 2.723 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.0009697/0.0009696, allocations: 177.2 kB / 20.49 MB, free: 1.699 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.31/1.31, allocations: 223.2 MB / 245.2 MB, free: 11.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008999/0.0008998, allocations: 90.83 kB / 297.1 MB, free: 10.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 8 kB / 358.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2626, allocations: 51.18 MB / 410 MB, free: 31.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.001582/0.2643, allocations: 1.678 MB / 411.7 MB, free: 29.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.2662, allocations: 1.561 MB / 413.3 MB, free: 28.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.2663, allocations: 1.031 kB / 413.3 MB, free: 28.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.2665, allocations: 27.73 kB / 413.3 MB, free: 28.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.267, allocations: 184.2 kB / 413.5 MB, free: 27.84 MB / 302.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.0005103/0.2675, allocations: 287.2 kB / 413.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.2678, allocations: 329.8 kB / 414.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2679, allocations: 85.98 kB / 414.2 MB, free: 27.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2681, allocations: 171.4 kB / 414.3 MB, free: 26.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.2683, allocations: 223.2 kB / 414.6 MB, free: 26.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.2683, allocations: 20 kB / 414.6 MB, free: 26.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.2687, allocations: 331.4 kB / 414.9 MB, free: 26.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.2688, allocations: 91.69 kB / 415 MB, free: 26.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.2689, allocations: 73.52 kB / 415.1 MB, free: 26.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.2693, allocations: 0.548 MB / 415.6 MB, free: 25.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2693, allocations: 4 kB / 415.6 MB, free: 25.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2693, allocations: 0 / 415.6 MB, free: 25.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2694, allocations: 0 / 415.6 MB, free: 25.71 MB / 302.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.0008942/0.2703, allocations: 0.63 MB / 416.2 MB, free: 25.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2703, allocations: 16.02 kB / 416.3 MB, free: 25.01 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/0.2704, allocations: 62.55 kB / 416.3 MB, free: 24.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009943/0.2714, allocations: 115.3 kB / 416.4 MB, free: 24.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.2719, allocations: 354.1 kB / 416.8 MB, free: 24.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.272, allocations: 32.66 kB / 416.8 MB, free: 24.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.2721, allocations: 47.8 kB / 416.9 MB, free: 24.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008942/0.273, allocations: 477.8 kB / 417.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.273, allocations: 0 / 417.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.273, allocations: 15.94 kB / 417.3 MB, free: 23.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2731, allocations: 8 kB / 417.3 MB, free: 23.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.2742, allocations: 0.5335 MB / 417.9 MB, free: 23.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.2758, allocations: 1.202 MB / 419.1 MB, free: 22.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.277, allocations: 0.5471 MB / 419.6 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.2771, allocations: 12.42 kB / 419.6 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.2771, allocations: 39 kB / 419.7 MB, free: 21.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.663e-06/0.2771, allocations: 0 / 419.7 MB, free: 21.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001935/0.2791, allocations: 0.85 MB / 420.5 MB, free: 20.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.2791, allocations: 63.78 kB / 420.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2793, allocations: 229 kB / 420.8 MB, free: 20.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.2793, allocations: 37.64 kB / 420.9 MB, free: 20.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.2794, allocations: 164.9 kB / 421 MB, free: 20.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.2795, allocations: 165.5 kB / 421.2 MB, free: 19.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.2795, allocations: 12 kB / 421.2 MB, free: 19.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.2796, allocations: 346.8 kB / 421.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.2802, allocations: 269 kB / 421.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.2808, allocations: 272.9 kB / 422.1 MB, free: 19.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.2814, allocations: 266.1 kB / 422.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2814, allocations: 0 / 422.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001365/0.2828, allocations: 0.6899 MB / 423 MB, free: 18.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2828, allocations: 4 kB / 423 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2828, allocations: 0 / 423 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2828, allocations: 4 kB / 423 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.2835, allocations: 155.7 kB / 423.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2836, allocations: 4 kB / 423.2 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.2839, allocations: 55.56 kB / 423.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.284, allocations: 27.97 kB / 423.2 MB, free: 17.83 MB / 302.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.0001618/0.2841, allocations: 161.7 kB / 423.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.2842, allocations: 35.58 kB / 423.4 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.2859, allocations: 0.8383 MB / 424.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-05/0.286, allocations: 11.98 kB / 424.3 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.286, allocations: 0 / 424.3 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.286, allocations: 0 / 424.3 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.2867, allocations: 0.6144 MB / 424.9 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.2867, allocations: 7.969 kB / 424.9 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/0.2874, allocations: 127.8 kB / 425 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.2874, allocations: 4 kB / 425 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.2875, allocations: 19.97 kB / 425.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2875, allocations: 4 kB / 425.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2875, allocations: 0 / 425.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.2897, allocations: 1.19 MB / 426.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.2897, allocations: 120.5 kB / 426.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.2898, allocations: 20.16 kB / 426.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.2902, allocations: 35.97 kB / 426.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.2903, allocations: 60.41 kB / 426.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.2904, allocations: 23.97 kB / 426.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2905, allocations: 160.5 kB / 426.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2905, allocations: 0 / 426.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005775/0.2911, allocations: 171.9 kB / 426.8 MB, free: 14.15 MB / 302.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.003391/0.2945, allocations: 1.996 MB / 428.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.2959, allocations: 0.6713 MB / 429.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2959, allocations: 0 / 429.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000737/0.2967, allocations: 481.8 kB / 430 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.297, allocations: 28.38 kB / 430 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.299, allocations: 1.44 MB / 431.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.2992, allocations: 0.8201 MB / 432.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.2997, allocations: 86.94 kB / 432.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.3, allocations: 155.3 kB / 432.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of SimCode: time 1.784e-06/0.3, allocations: 4 kB / 432.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.3195, allocations: 10.23 MB / 442.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.3198, allocations: 241.2 kB / 443 MB, free: 14.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.205, allocations: 3.938 kB / 443 MB, free: 14.09 MB / 318.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)