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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 215.8 kB / 22.26 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.02873/0.02873, allocations: 3.941 MB / 316.4 MB, free: 15.33 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 71.91 kB / 439.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.101, allocations: 54.14 MB / 493.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003359/0.1044, allocations: 2.014 MB / 495.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1075, allocations: 1.565 MB / 497.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1077, allocations: 7.938 kB / 497.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1079, allocations: 51.41 kB / 497.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008266/0.1087, allocations: 271 kB / 497.8 MB, free: 1.82 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0009663/0.1097, allocations: 363.1 kB / 498.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007896/0.1105, allocations: 0.655 MB / 498.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1106, allocations: 58.33 kB / 498.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.111, allocations: 263.2 kB / 499.1 MB, free: 500 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.1114, allocations: 279 kB / 499.4 MB, free: 220 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.395e-05/0.1115, allocations: 68 kB / 499.5 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007884/0.1122, allocations: 407.3 kB / 499.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.1124, allocations: 127.7 kB / 500 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.1127, allocations: 234.9 kB / 0.4885 GB, free: 15.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.1137, allocations: 0.7165 MB / 0.4892 GB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1137, allocations: 4 kB / 0.4892 GB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1137, allocations: 0 / 0.4892 GB, free: 14.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1137, allocations: 7.938 kB / 0.4892 GB, free: 14.66 MB / 366.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.003297/0.117, allocations: 2.42 MB / 0.4916 GB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.117, allocations: 12.03 kB / 0.4916 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.1171, allocations: 70.72 kB / 0.4916 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.1185, allocations: 165.5 kB / 0.4918 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.1193, allocations: 313.7 kB / 0.4921 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.1194, allocations: 32.88 kB / 0.4921 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.1195, allocations: 36.38 kB / 0.4922 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.1208, allocations: 0.5715 MB / 0.4927 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1208, allocations: 3.938 kB / 0.4927 GB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.1209, allocations: 12 kB / 0.4927 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1209, allocations: 8 kB / 0.4927 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.1225, allocations: 0.6345 MB / 0.4934 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.1248, allocations: 1.103 MB / 0.4944 GB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.1261, allocations: 0.511 MB / 0.4949 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009363/0.1271, allocations: 401.8 kB / 0.4953 GB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/0.1271, allocations: 8.312 kB / 0.4953 GB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.1285, allocations: 0.7516 MB / 0.4961 GB, free: 7.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 3.306e-06/0.1285, allocations: 0 / 0.4961 GB, free: 7.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.00325/0.1317, allocations: 1.391 MB / 0.4974 GB, free: 6.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.1319, allocations: 138.7 kB / 0.4976 GB, free: 5.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.1322, allocations: 253.8 kB / 0.4978 GB, free: 5.617 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.1323, allocations: 41.7 kB / 0.4978 GB, free: 5.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1324, allocations: 153.2 kB / 0.498 GB, free: 5.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.1326, allocations: 178.5 kB / 0.4982 GB, free: 5.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.1328, allocations: 130.1 kB / 0.4983 GB, free: 5.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.133, allocations: 350.7 kB / 0.4986 GB, free: 4.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/0.1339, allocations: 345 kB / 0.4989 GB, free: 4.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008839/0.1348, allocations: 353.1 kB / 0.4993 GB, free: 4.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.1365, allocations: 0.8233 MB / 0.5001 GB, free: 3.227 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1365, allocations: 0 / 0.5001 GB, free: 3.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00212/0.1386, allocations: 0.9211 MB / 0.501 GB, free: 2.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.1388, allocations: 97.86 kB / 0.5011 GB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1388, allocations: 3.938 kB / 0.5011 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1388, allocations: 4 kB / 0.5011 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008079/0.1396, allocations: 131.8 kB / 0.5012 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1396, allocations: 3.984 kB / 0.5012 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.14, allocations: 79.58 kB / 0.5013 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.1401, allocations: 47.94 kB / 0.5013 GB, free: 1.918 MB / 366.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 (59): * Single equations (assignments): 57 * 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.000403/0.1405, allocations: 298.9 kB / 0.5016 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.1406, allocations: 43.77 kB / 0.5017 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.1432, allocations: 1.138 MB / 0.5028 GB, free: 404 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1432, allocations: 4 kB / 0.5028 GB, free: 400 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1432, allocations: 3.984 kB / 0.5028 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1432, allocations: 3.938 kB / 0.5028 GB, free: 392 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007377/0.1439, allocations: 0.5668 MB / 0.5033 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.144, allocations: 4 kB / 0.5033 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.1447, allocations: 107.8 kB / 0.5034 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1447, allocations: 0 / 0.5034 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.1448, allocations: 31.97 kB / 0.5035 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1448, allocations: 0 / 0.5035 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1448, allocations: 0 / 0.5035 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.1484, allocations: 1.661 MB / 0.5051 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.1485, allocations: 43.64 kB / 0.5051 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.1486, allocations: 31.98 kB / 0.5052 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.149, allocations: 44.14 kB / 0.5052 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.1492, allocations: 59.89 kB / 0.5053 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.1493, allocations: 67.84 kB / 0.5053 GB, free: 13.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.1495, allocations: 169.2 kB / 0.5055 GB, free: 13.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1495, allocations: 0 / 0.5055 GB, free: 13.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005803/0.1501, allocations: 171.7 kB / 0.5057 GB, free: 13.36 MB / 382.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 (41): * Single equations (assignments): 39 * 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.00454/0.1546, allocations: 2.421 MB / 0.508 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002275/0.1569, allocations: 1.024 MB / 0.509 GB, free: 9.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1569, allocations: 4 kB / 0.509 GB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.1581, allocations: 0.6317 MB / 0.5096 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1584, allocations: 50.05 kB / 0.5097 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009123/0.1675, allocations: 5.081 MB / 0.5147 GB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.168, allocations: 0.8043 MB / 0.5154 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000376/0.1684, allocations: 66.95 kB / 0.5155 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.1687, allocations: 147.4 kB / 0.5156 GB, free: 2.973 MB / 382.1 MB Notification: Performance of SimCode: time 1.133e-06/0.1687, allocations: 0 / 0.5156 GB, free: 2.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2516/0.4203, allocations: 12.28 MB / 0.5276 GB, free: 35.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.5, allocations: 12.39 kB / 0.5276 GB, free: 35.57 MB / 382.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 AdvancedNoise_AdvancedNoise_Examples_TimeBasedCorrelations.fmu > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.644135647002258] Failed to read output from testmodel.py, exit status != 0: 12.617588894005166 12.641163665 12.522891326 Calling exit ...