Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02683/0.02683, allocations: 3.939 MB / 306.6 MB, free: 6.039 MB / 238.1 MB " [Timeout remaining time 180] 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.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.91 kB / 426.1 MB, free: 21.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1244, allocations: 52.91 MB / 479 MB, free: 424 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002978/0.1274, allocations: 1.487 MB / 480.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1294, allocations: 1.063 MB / 481.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.1295, allocations: 0 / 481.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.1296, allocations: 23.8 kB / 481.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1298, allocations: 15.88 kB / 481.6 MB, free: 13.81 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.1305, allocations: 179.4 kB / 481.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.1307, allocations: 123.7 kB / 481.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1308, allocations: 7.984 kB / 481.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1309, allocations: 47.78 kB / 481.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.131, allocations: 51.77 kB / 482 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.131, allocations: 4 kB / 482 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.1313, allocations: 179.6 kB / 482.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.1314, allocations: 19.92 kB / 482.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.1314, allocations: 43.78 kB / 482.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1318, allocations: 215.5 kB / 482.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1318, allocations: 0 / 482.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1318, allocations: 0 / 482.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1318, allocations: 0 / 482.4 MB, free: 12.95 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006594/0.1325, allocations: 430.5 kB / 482.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1325, allocations: 8.031 kB / 482.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.1326, allocations: 42.69 kB / 482.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.133, allocations: 48.81 kB / 482.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1333, allocations: 214.6 kB / 483.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1333, allocations: 4.375 kB / 483.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1334, allocations: 7.938 kB / 483.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1336, allocations: 81.58 kB / 483.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1336, allocations: 0 / 483.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1336, allocations: 4 kB / 483.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1336, allocations: 0 / 483.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.1338, allocations: 63.89 kB / 483.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006337/0.1344, allocations: 364.7 kB / 483.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.1346, allocations: 74.48 kB / 483.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.531e-05/0.1347, allocations: 32.84 kB / 483.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1347, allocations: 7.984 kB / 483.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1347, allocations: 34.56 kB / 483.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1347, allocations: 0 / 483.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004341/0.1352, allocations: 153.5 kB / 483.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1352, allocations: 51.41 kB / 484 MB, free: 11.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1354, allocations: 157.4 kB / 484.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1354, allocations: 29.7 kB / 484.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.1355, allocations: 100.1 kB / 484.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1355, allocations: 31.95 kB / 484.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.1356, allocations: 29.69 kB / 484.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1358, allocations: 318.8 kB / 484.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.24e-05/0.1358, allocations: 35.97 kB / 484.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.1359, allocations: 31.98 kB / 484.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.1361, allocations: 88.98 kB / 484.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1361, allocations: 3.938 kB / 484.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002631/0.1364, allocations: 141.5 kB / 484.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1364, allocations: 4 kB / 484.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1364, allocations: 0 / 484.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1364, allocations: 0 / 484.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1365, allocations: 19.98 kB / 485 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1365, allocations: 3.938 kB / 485 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.1366, allocations: 15.89 kB / 485 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.1366, allocations: 23.95 kB / 485 MB, free: 10.11 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: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001253/0.1368, allocations: 140.5 kB / 485.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.1368, allocations: 7.953 kB / 485.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.1369, allocations: 12.72 kB / 485.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1369, allocations: 4 kB / 485.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1369, allocations: 3.938 kB / 485.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1369, allocations: 0 / 485.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1371, allocations: 201.6 kB / 485.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1371, allocations: 4 kB / 485.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.1372, allocations: 11.98 kB / 485.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1372, allocations: 7.938 kB / 485.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1372, allocations: 4 kB / 485.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1372, allocations: 7.922 kB / 485.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1372, allocations: 3.938 kB / 485.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.1376, allocations: 223.3 kB / 485.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.1376, allocations: 101 kB / 485.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1377, allocations: 0 / 485.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.1377, allocations: 8 kB / 485.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.1378, allocations: 11.92 kB / 485.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.1378, allocations: 27.95 kB / 485.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.375e-05/0.1379, allocations: 110.2 kB / 485.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1379, allocations: 0 / 485.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.1383, allocations: 55.86 kB / 485.9 MB, free: 9.094 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001093/0.1394, allocations: 0.886 MB / 486.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1396, allocations: 75.95 kB / 486.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1396, allocations: 0 / 486.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1397, allocations: 47.91 kB / 486.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.14, allocations: 14.38 kB / 487 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1419, allocations: 1.621 MB / 488.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1422, allocations: 0.6963 MB / 489.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.008e-05/0.1423, allocations: 32.52 kB / 489.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.1424, allocations: 35.41 kB / 489.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1424, allocations: 0 / 489.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.1707, allocations: 3.624 MB / 493 MB, free: 2.047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.96/9.13, allocations: 3.859 kB / 493 MB, free: 2.043 MB / 350.1 MB " [Timeout remaining time 651] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.853716264944524] Failed to read output from testmodel.py, exit status != 0: 9.20040842704475 9.224329351 9.088014425 Calling exit ...