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.02732/0.02732, allocations: 3.916 MB / 19.18 MB, free: 2.914 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.0007754/0.0007754, allocations: 177.6 kB / 20.82 MB, free: 1.891 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.26/1.26, allocations: 223.3 MB / 245.6 MB, free: 11.62 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.0007703/0.0007703, allocations: 96.8 kB / 297.5 MB, free: 9.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 12 kB / 359.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2339, allocations: 51.18 MB / 410.8 MB, free: 31.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.001883/0.2359, allocations: 1.739 MB / 412.5 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.2381, allocations: 1.653 MB / 414.1 MB, free: 27.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2382, allocations: 4 kB / 414.1 MB, free: 27.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.2384, allocations: 31.66 kB / 414.2 MB, free: 27.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.2389, allocations: 207.4 kB / 414.4 MB, free: 27.38 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.0005096/0.2394, allocations: 327.3 kB / 414.7 MB, free: 27.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.2398, allocations: 0.5419 MB / 415.2 MB, free: 26.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2399, allocations: 103.4 kB / 415.3 MB, free: 26.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2401, allocations: 179.3 kB / 415.5 MB, free: 26.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.2403, allocations: 235 kB / 415.7 MB, free: 26.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.2403, allocations: 19.94 kB / 415.8 MB, free: 25.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.2408, allocations: 391.4 kB / 416.1 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.033e-05/0.2409, allocations: 87.62 kB / 416.2 MB, free: 25.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.241, allocations: 192.7 kB / 416.4 MB, free: 25.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.2416, allocations: 0.7151 MB / 417.1 MB, free: 24.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2416, allocations: 0 / 417.1 MB, free: 24.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.2416, allocations: 0 / 417.1 MB, free: 24.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2416, allocations: 0 / 417.1 MB, free: 24.61 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.0009087/0.2425, allocations: 0.6302 MB / 417.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2426, allocations: 8.031 kB / 417.8 MB, free: 23.92 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.596e-05/0.2427, allocations: 70.72 kB / 417.8 MB, free: 23.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.2438, allocations: 168.2 kB / 418 MB, free: 23.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.2443, allocations: 371.1 kB / 418.4 MB, free: 23.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.2444, allocations: 33.03 kB / 418.4 MB, free: 23.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.2445, allocations: 44.22 kB / 418.4 MB, free: 23.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009216/0.2454, allocations: 486.3 kB / 418.9 MB, free: 22.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2454, allocations: 3.938 kB / 418.9 MB, free: 22.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.2455, allocations: 19.98 kB / 418.9 MB, free: 22.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2455, allocations: 12 kB / 419 MB, free: 22.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.2467, allocations: 0.5413 MB / 419.5 MB, free: 22.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.2484, allocations: 1.217 MB / 420.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.2495, allocations: 0.5335 MB / 421.2 MB, free: 20.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.2502, allocations: 302 kB / 421.5 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.2502, allocations: 16.41 kB / 421.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2502, allocations: 39 kB / 421.6 MB, free: 19.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.2502, allocations: 0 / 421.6 MB, free: 19.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002066/0.2523, allocations: 0.8812 MB / 422.5 MB, free: 19.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.2524, allocations: 55.84 kB / 422.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.2525, allocations: 233 kB / 422.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.2526, allocations: 37.7 kB / 422.8 MB, free: 18.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.2527, allocations: 152.9 kB / 422.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.2528, allocations: 169.5 kB / 423.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.2529, allocations: 57.69 kB / 423.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.253, allocations: 342.7 kB / 423.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/0.2536, allocations: 281 kB / 423.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.2542, allocations: 288.9 kB / 424.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.2554, allocations: 0.5388 MB / 424.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2554, allocations: 0 / 424.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001415/0.2568, allocations: 0.6938 MB / 425.3 MB, free: 16.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2568, allocations: 4 kB / 425.3 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2568, allocations: 0 / 425.3 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2569, allocations: 8 kB / 425.3 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.2576, allocations: 155.7 kB / 425.5 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.2576, allocations: 4 kB / 425.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.2579, allocations: 67.5 kB / 425.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/0.258, allocations: 70.17 kB / 425.6 MB, free: 15.91 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 (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.0001788/0.2582, allocations: 165.7 kB / 425.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.2583, allocations: 27.62 kB / 425.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.2601, allocations: 0.8578 MB / 426.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-05/0.2602, allocations: 11.98 kB / 426.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2602, allocations: 0 / 426.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2602, allocations: 8 kB / 426.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/0.2609, allocations: 0.6223 MB / 427.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2609, allocations: 4 kB / 427.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.2616, allocations: 119.8 kB / 427.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2616, allocations: 4 kB / 427.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.2617, allocations: 19.97 kB / 427.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2617, allocations: 7.938 kB / 427.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2617, allocations: 7.938 kB / 427.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.2639, allocations: 1.233 MB / 428.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.2639, allocations: 112.5 kB / 428.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.264, allocations: 12 kB / 428.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.2644, allocations: 39.97 kB / 428.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.2645, allocations: 60.45 kB / 428.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.134e-05/0.2646, allocations: 71.92 kB / 429 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.2647, allocations: 164.4 kB / 429.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2647, allocations: 0 / 429.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.2653, allocations: 167.8 kB / 429.3 MB, free: 12.11 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 (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.00288/0.2682, allocations: 2.018 MB / 431.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.2696, allocations: 0.6869 MB / 432 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2696, allocations: 0 / 432 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.2703, allocations: 497.8 kB / 432.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.2707, allocations: 36.34 kB / 432.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/0.2767, allocations: 4.47 MB / 437 MB, free: 4.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.2769, allocations: 0.8124 MB / 437.8 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004377/0.2774, allocations: 90.86 kB / 437.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.2777, allocations: 155.3 kB / 438 MB, free: 3.258 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2777, allocations: 7.938 kB / 438 MB, free: 3.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.2995, allocations: 10.42 MB / 448.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.2998, allocations: 267.5 kB / 448.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.253, allocations: 0 / 448.7 MB, free: 8.633 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)