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.001857/0.001857, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002922/0.002922, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.02814/0.02814, allocations: 3.917 MB / 312.8 MB, free: 0.5352 MB / 238.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.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.002058/0.002058, allocations: 60.09 kB / 434.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1041, allocations: 54.11 MB / 488.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.003008/0.1071, allocations: 1.485 MB / 490.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1092, allocations: 1.106 MB / 491.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.1093, allocations: 0 / 491.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.1094, allocations: 15.81 kB / 491.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1096, allocations: 19.86 kB / 491.3 MB, free: 5.84 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'. [/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.0007216/0.1103, allocations: 183.4 kB / 491.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1105, allocations: 119.7 kB / 491.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.1106, allocations: 12 kB / 491.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1108, allocations: 51.77 kB / 491.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.1109, allocations: 43.83 kB / 491.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1109, allocations: 4 kB / 491.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.1112, allocations: 179.8 kB / 491.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.1112, allocations: 23.86 kB / 491.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.062e-05/0.1113, allocations: 39.72 kB / 491.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.1117, allocations: 215.5 kB / 492.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1117, allocations: 0 / 492.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1117, allocations: 0 / 492.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1117, allocations: 4 kB / 492.1 MB, free: 4.98 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.0006098/0.1123, allocations: 426.6 kB / 492.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1123, allocations: 11.98 kB / 492.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.1124, allocations: 38.75 kB / 492.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.1128, allocations: 52.81 kB / 492.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.1131, allocations: 215.1 kB / 492.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1132, allocations: 4.375 kB / 492.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1132, allocations: 7.938 kB / 492.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1134, allocations: 81.64 kB / 493 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1134, allocations: 4 kB / 493 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1134, allocations: 0 / 493 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1134, allocations: 0 / 493 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1136, allocations: 63.89 kB / 493 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.1141, allocations: 360.6 kB / 493.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.1144, allocations: 78.52 kB / 493.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.043e-05/0.1144, allocations: 40.84 kB / 493.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1145, allocations: 3.984 kB / 493.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1145, allocations: 30.56 kB / 493.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1145, allocations: 96 / 493.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000432/0.1149, allocations: 157.5 kB / 493.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.115, allocations: 55.41 kB / 493.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1151, allocations: 150.4 kB / 493.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1152, allocations: 25.7 kB / 493.9 MB, free: 3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1152, allocations: 104 kB / 494 MB, free: 2.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.1153, allocations: 19.86 kB / 494 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/0.1154, allocations: 33.69 kB / 494.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1155, allocations: 322.8 kB / 494.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-05/0.1156, allocations: 35.97 kB / 494.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.1157, allocations: 35.92 kB / 494.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.1159, allocations: 93.06 kB / 494.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1159, allocations: 0 / 494.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002833/0.1162, allocations: 141.5 kB / 494.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1162, allocations: 4 kB / 494.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1162, allocations: 4 kB / 494.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1162, allocations: 0 / 494.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1164, allocations: 19.98 kB / 494.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.1164, allocations: 7.938 kB / 494.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.1164, allocations: 7.875 kB / 494.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.1165, allocations: 30.7 kB / 494.7 MB, free: 2.133 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.0001207/0.1166, allocations: 126.4 kB / 494.9 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.1166, allocations: 7.953 kB / 494.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.1167, allocations: 12.72 kB / 494.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1167, allocations: 4 kB / 494.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1167, allocations: 3.938 kB / 494.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1167, allocations: 4 kB / 494.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1169, allocations: 205.6 kB / 495.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.117, allocations: 0 / 495.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.117, allocations: 11.98 kB / 495.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.117, allocations: 0 / 495.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1171, allocations: 8 kB / 495.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1171, allocations: 3.984 kB / 495.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1171, allocations: 11.88 kB / 495.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.1174, allocations: 215.4 kB / 495.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.1175, allocations: 97.03 kB / 495.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1175, allocations: 0 / 495.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.1176, allocations: 0 / 495.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.1176, allocations: 15.92 kB / 495.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.1177, allocations: 31.95 kB / 495.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.1178, allocations: 107.2 kB / 495.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1178, allocations: 0 / 495.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1181, allocations: 55.86 kB / 495.6 MB, free: 1.133 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.001156/0.1193, allocations: 0.8905 MB / 496.5 MB, free: 268 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.1195, allocations: 87.89 kB / 496.6 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1195, allocations: 0 / 496.6 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1196, allocations: 39.97 kB / 496.7 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.1199, allocations: 11.88 kB / 496.7 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1219, allocations: 1.629 MB / 498.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1223, allocations: 0.7002 MB / 499 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.645e-05/0.1223, allocations: 28.56 kB / 499 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.1224, allocations: 35.41 kB / 499.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1224, allocations: 0 / 499.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.1504, allocations: 3.638 MB / 0.4909 GB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.262, allocations: 5.734 kB / 0.4909 GB, free: 10.05 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.910748783033341] Failed to read output from testmodel.py, exit status != 0: 8.336643516086042 8.35762603 8.242376813 Calling exit ...