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.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.001093/0.001093, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008874/0.0008874, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9053/0.9053, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.0146/0.0146, allocations: 3.132 MB / 262.3 MB, free: 10.27 MB / 250.7 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.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 1.703e-06/1.703e-06, allocations: 0 / 385.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.902e-05, allocations: 4.953 kB / 385.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001857/0.001876, allocations: 1.471 MB / 387.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003214, allocations: 1.055 MB / 388.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.003278, allocations: 3.938 kB / 388.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.003416, allocations: 15.86 kB / 388.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.003587, allocations: 15.88 kB / 388.3 MB, free: 9.656 MB / 362.7 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 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 master/Sources/SignalBasedNoise.mo:248:3-259: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.0006932/0.00428, allocations: 195.1 kB / 388.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.004429, allocations: 123.7 kB / 388.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.004512, allocations: 7.984 kB / 388.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.004646, allocations: 71.77 kB / 388.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.004706, allocations: 31.89 kB / 388.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.004724, allocations: 4 kB / 388.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.004968, allocations: 211.5 kB / 388.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.005003, allocations: 15.92 kB / 388.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.005038, allocations: 23.92 kB / 389 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.005297, allocations: 231.3 kB / 389.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005299, allocations: 11.88 kB / 389.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.0053, allocations: 0 / 389.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005304, allocations: 0 / 389.2 MB, free: 8.746 MB / 362.7 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.0004506/0.005755, allocations: 353.5 kB / 389.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.005792, allocations: 8.031 kB / 389.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.005823, allocations: 34.75 kB / 389.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.006177, allocations: 48.81 kB / 389.6 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.006401, allocations: 157.2 kB / 389.8 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.006417, allocations: 8.312 kB / 389.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.00643, allocations: 4.375 kB / 389.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.006694, allocations: 81.95 kB / 389.9 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006705, allocations: 0 / 389.9 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.006716, allocations: 8 kB / 389.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.00672, allocations: 0 / 389.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.006815, allocations: 55.95 kB / 390 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.007236, allocations: 327.6 kB / 390.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.007369, allocations: 78.53 kB / 390.3 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.007424, allocations: 32.84 kB / 390.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.007453, allocations: 4 kB / 390.4 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.007476, allocations: 38.56 kB / 390.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.007477, allocations: 0 / 390.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002767/0.007754, allocations: 153.5 kB / 390.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.007785, allocations: 51.41 kB / 390.6 MB, free: 7.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.007877, allocations: 142.4 kB / 390.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.007891, allocations: 25.7 kB / 390.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.007937, allocations: 111.9 kB / 390.9 MB, free: 6.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.007956, allocations: 27.92 kB / 390.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.008, allocations: 33.7 kB / 391 MB, free: 6.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.00814, allocations: 330.8 kB / 391.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.00819, allocations: 31.98 kB / 391.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.816e-05/0.008238, allocations: 35.92 kB / 391.3 MB, free: 6.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.008342, allocations: 80.83 kB / 391.4 MB, free: 6.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008344, allocations: 3.938 kB / 391.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001668/0.00851, allocations: 145.4 kB / 391.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.008522, allocations: 4 kB / 391.6 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.008532, allocations: 0 / 391.6 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.008544, allocations: 4 kB / 391.6 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.008626, allocations: 19.98 kB / 391.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.008632, allocations: 3.984 kB / 391.6 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.008656, allocations: 4 kB / 391.6 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.008693, allocations: 31.89 kB / 391.6 MB, free: 6.117 MB / 362.7 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 7e-05/0.008763, allocations: 121.8 kB / 391.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.008781, allocations: 7.953 kB / 391.8 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.008814, allocations: 8.781 kB / 391.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008816, allocations: 4 kB / 391.8 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.008822, allocations: 3.984 kB / 391.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008825, allocations: 4 kB / 391.8 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.008964, allocations: 172.6 kB / 392 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.008966, allocations: 3.984 kB / 392 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.009002, allocations: 15.97 kB / 392 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.009005, allocations: 4 kB / 392 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.009013, allocations: 0 / 392 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009014, allocations: 0 / 392 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009015, allocations: 0 / 392 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.009193, allocations: 231.2 kB / 392.2 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.009229, allocations: 35.86 kB / 392.2 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.009244, allocations: 4 kB / 392.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.00928, allocations: 0 / 392.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.009318, allocations: 7.984 kB / 392.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.009341, allocations: 23.95 kB / 392.3 MB, free: 5.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.255e-05/0.009393, allocations: 122.4 kB / 392.4 MB, free: 5.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009393, allocations: 3.938 kB / 392.4 MB, free: 5.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.009629, allocations: 51.83 kB / 392.4 MB, free: 5.238 MB / 362.7 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.0007464/0.01038, allocations: 0.9045 MB / 393.3 MB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.01053, allocations: 83.95 kB / 393.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01053, allocations: 0 / 393.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.01059, allocations: 43.91 kB / 393.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.01076, allocations: 8.156 kB / 393.5 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.01191, allocations: 1.621 MB / 395.1 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.249e-05/0.01196, allocations: 85.45 kB / 395.2 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.639e-05/0.01202, allocations: 36.56 kB / 395.2 MB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.01207, allocations: 32.47 kB / 395.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.01207, allocations: 7.938 kB / 395.3 MB, free: 2.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02688, allocations: 4.355 MB / 399.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.034, allocations: 10.98 kB / 399.6 MB, free: 14.05 MB / 378.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.88698757905513] Failed to read output from testmodel.py, exit status != 0: 7.116863244213164 7.125307136 7.118369323 Calling exit ...