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/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.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/AdvancedNoise 1.1.0-master/package.mo): time 0.0297/0.0297, allocations: 3.908 MB / 19.18 MB, free: 2.902 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.0007517/0.0007518, allocations: 185.8 kB / 20.83 MB, free: 1.871 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.298/1.298, allocations: 223.2 MB / 245.6 MB, free: 11.61 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.0007469/0.0007468, allocations: 92.72 kB / 297.5 MB, free: 9.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 8 kB / 359.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2325, allocations: 51.19 MB / 410.7 MB, free: 31.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.001567/0.2341, allocations: 1.7 MB / 412.4 MB, free: 29.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.236, allocations: 1.528 MB / 414 MB, free: 27.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2361, allocations: 3.938 kB / 414 MB, free: 27.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.913e-05/0.2362, allocations: 39.59 kB / 414 MB, free: 27.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000465/0.2367, allocations: 203.4 kB / 414.2 MB, free: 27.58 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.0004844/0.2372, allocations: 303.4 kB / 414.5 MB, free: 27.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.2375, allocations: 0.5615 MB / 415.1 MB, free: 26.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2376, allocations: 93.25 kB / 415.2 MB, free: 26.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.2378, allocations: 211.2 kB / 415.4 MB, free: 26.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.238, allocations: 235 kB / 415.6 MB, free: 26.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.2381, allocations: 20 kB / 415.6 MB, free: 26.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.2384, allocations: 315.5 kB / 415.9 MB, free: 25.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.2385, allocations: 83.59 kB / 416 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2386, allocations: 216.6 kB / 416.2 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004962/0.2391, allocations: 0.6838 MB / 416.9 MB, free: 24.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.2391, allocations: 0 / 416.9 MB, free: 24.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2392, allocations: 0 / 416.9 MB, free: 24.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.2392, allocations: 0 / 416.9 MB, free: 24.88 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001988/0.2412, allocations: 2.373 MB / 419.3 MB, free: 22.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2412, allocations: 12.03 kB / 419.3 MB, free: 22.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.321e-05/0.2413, allocations: 62.73 kB / 419.4 MB, free: 22.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.2424, allocations: 172.2 kB / 419.5 MB, free: 22.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.2429, allocations: 371.9 kB / 419.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.2429, allocations: 36.88 kB / 419.9 MB, free: 21.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.243, allocations: 40.28 kB / 420 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.2441, allocations: 0.5914 MB / 420.6 MB, free: 21.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2441, allocations: 3.938 kB / 420.6 MB, free: 21.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.2441, allocations: 8 kB / 420.6 MB, free: 21.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2441, allocations: 8 kB / 420.6 MB, free: 21.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.2455, allocations: 0.6659 MB / 421.2 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.247, allocations: 1.155 MB / 422.4 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.2482, allocations: 0.7222 MB / 423.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008051/0.249, allocations: 0.533 MB / 423.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.2491, allocations: 4.328 kB / 423.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009619/0.25, allocations: 0.7715 MB / 424.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 1.774e-06/0.2501, allocations: 0 / 424.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=58): time 0.002428/0.2525, allocations: 1.431 MB / 425.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.2526, allocations: 142.7 kB / 426 MB, free: 15.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.2527, allocations: 254.5 kB / 426.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.2528, allocations: 45.64 kB / 426.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.2529, allocations: 153.1 kB / 426.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.253, allocations: 173.5 kB / 426.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.2531, allocations: 69.67 kB / 426.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.209e-05/0.2532, allocations: 346.8 kB / 427 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.2539, allocations: 369 kB / 427.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.2546, allocations: 373.3 kB / 427.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.256, allocations: 0.8665 MB / 428.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.256, allocations: 3.938 kB / 428.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001629/0.2576, allocations: 0.9642 MB / 429.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/0.2577, allocations: 97.48 kB / 429.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2577, allocations: 4 kB / 429.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2577, allocations: 0 / 429.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.2584, allocations: 139.8 kB / 429.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2584, allocations: 4 kB / 429.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.2588, allocations: 79.48 kB / 429.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.2589, allocations: 47.94 kB / 429.9 MB, free: 11.48 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: 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.0002651/0.2591, allocations: 299.2 kB / 430.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.2592, allocations: 43.53 kB / 430.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.2612, allocations: 1.167 MB / 431.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2612, allocations: 11.98 kB / 431.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2612, allocations: 3.984 kB / 431.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2612, allocations: 4 kB / 431.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.2617, allocations: 0.6065 MB / 432.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2617, allocations: 0 / 432.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.2623, allocations: 115.8 kB / 432.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2624, allocations: 4 kB / 432.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.2624, allocations: 27.97 kB / 432.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2624, allocations: 4 kB / 432.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2624, allocations: 0 / 432.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.2651, allocations: 1.732 MB / 433.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.2651, allocations: 116.5 kB / 434.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.2652, allocations: 31.98 kB / 434.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.2656, allocations: 51.95 kB / 434.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.2657, allocations: 59.91 kB / 434.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.2658, allocations: 56.05 kB / 434.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.2659, allocations: 174 kB / 434.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.266, allocations: 0 / 434.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.2664, allocations: 175.8 kB / 434.6 MB, free: 6.672 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: 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.003341/0.2698, allocations: 2.478 MB / 437.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.2716, allocations: 1.267 MB / 438.3 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2716, allocations: 0 / 438.3 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009839/0.2726, allocations: 0.9245 MB / 439.3 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.2729, allocations: 44.36 kB / 439.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/0.2807, allocations: 5.334 MB / 444.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.2811, allocations: 0.8046 MB / 445.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004331/0.2815, allocations: 70.94 kB / 445.5 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.2818, allocations: 147.3 kB / 445.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2818, allocations: 7.938 kB / 445.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.3038, allocations: 10.79 MB / 456.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.3041, allocations: 256.9 kB / 456.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.28, allocations: 0 / 456.7 MB, free: 0.5117 MB / 318.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/linux/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)