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.001738/0.001738, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002192/0.002192, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.793 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.02833/0.02833, allocations: 3.944 MB / 316.4 MB, free: 15.22 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.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.002206/0.002206, allocations: 67.91 kB / 439.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09872, allocations: 54.15 MB / 493.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002877/0.1016, allocations: 1.469 MB / 495.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1037, allocations: 1.052 MB / 496.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.1038, allocations: 4 kB / 496.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.1039, allocations: 11.81 kB / 496.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1041, allocations: 19.86 kB / 496.4 MB, free: 2.926 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.0007054/0.1048, allocations: 191.3 kB / 496.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.105, allocations: 119.7 kB / 496.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.1051, allocations: 15.98 kB / 496.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.1053, allocations: 47.78 kB / 496.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.082e-05/0.1054, allocations: 43.83 kB / 496.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1054, allocations: 4 kB / 496.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/0.1058, allocations: 203.6 kB / 497 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.1059, allocations: 23.97 kB / 497 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.1059, allocations: 31.73 kB / 497.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.1063, allocations: 215.2 kB / 497.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1063, allocations: 4 kB / 497.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1063, allocations: 0 / 497.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1063, allocations: 0 / 497.3 MB, free: 2.043 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.0005939/0.1069, allocations: 357.4 kB / 497.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1069, allocations: 8.031 kB / 497.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.107, allocations: 34.75 kB / 497.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004045/0.1074, allocations: 56.81 kB / 497.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1077, allocations: 161.6 kB / 497.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1077, allocations: 4.375 kB / 497.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1077, allocations: 7.938 kB / 497.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1079, allocations: 77.64 kB / 498 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1079, allocations: 4 kB / 498 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1079, allocations: 7.984 kB / 498 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1079, allocations: 0 / 498 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1081, allocations: 55.95 kB / 498 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.1086, allocations: 319.7 kB / 498.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.1088, allocations: 74.55 kB / 498.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.1089, allocations: 40.83 kB / 498.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1089, allocations: 4 kB / 498.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.109, allocations: 34.56 kB / 498.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.109, allocations: 0 / 498.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004182/0.1094, allocations: 161.6 kB / 498.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1094, allocations: 51.41 kB / 498.7 MB, free: 476 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1096, allocations: 146.4 kB / 498.8 MB, free: 312 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1096, allocations: 29.7 kB / 498.9 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.1097, allocations: 104.1 kB / 499 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1097, allocations: 15.8 kB / 499 MB, free: 152 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.1098, allocations: 41.69 kB / 499 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1099, allocations: 322.8 kB / 499.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.11, allocations: 31.98 kB / 499.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.1101, allocations: 31.98 kB / 499.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.1103, allocations: 88.77 kB / 499.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1103, allocations: 0 / 499.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002811/0.1106, allocations: 141.4 kB / 499.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1106, allocations: 4 kB / 499.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1106, allocations: 4 kB / 499.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1106, allocations: 0 / 499.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1107, allocations: 19.98 kB / 499.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1107, allocations: 7.938 kB / 499.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.1108, allocations: 7.984 kB / 499.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.1108, allocations: 27.89 kB / 499.7 MB, free: 15.41 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: 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.0001187/0.111, allocations: 117.8 kB / 499.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.111, allocations: 7.953 kB / 499.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.1111, allocations: 12.72 kB / 499.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1111, allocations: 4 kB / 499.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1111, allocations: 3.938 kB / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1111, allocations: 3.984 kB / 499.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.1113, allocations: 164.7 kB / 0.4883 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1113, allocations: 0 / 0.4883 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.1114, allocations: 15.97 kB / 0.4883 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1114, allocations: 8 kB / 0.4883 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1114, allocations: 0 / 0.4883 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1114, allocations: 0 / 0.4883 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1114, allocations: 3.938 kB / 0.4883 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.1117, allocations: 231.6 kB / 0.4885 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.1118, allocations: 31.81 kB / 0.4886 GB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1118, allocations: 3.984 kB / 0.4886 GB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.1119, allocations: 0 / 0.4886 GB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.112, allocations: 15.92 kB / 0.4886 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.112, allocations: 25.08 kB / 0.4886 GB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.083e-05/0.1121, allocations: 109.5 kB / 0.4887 GB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1121, allocations: 0 / 0.4887 GB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.1124, allocations: 55.86 kB / 0.4888 GB, free: 14.54 MB / 366.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.001164/0.1136, allocations: 0.9075 MB / 0.4897 GB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1138, allocations: 83.89 kB / 0.4897 GB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1138, allocations: 0 / 0.4897 GB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/0.1139, allocations: 39.97 kB / 0.4898 GB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1142, allocations: 12.17 kB / 0.4898 GB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1161, allocations: 1.637 MB / 0.4914 GB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.291e-05/0.1162, allocations: 81.31 kB / 0.4915 GB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.525e-05/0.1163, allocations: 32.58 kB / 0.4915 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.1164, allocations: 31.42 kB / 0.4915 GB, free: 11.65 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1164, allocations: 0 / 0.4915 GB, free: 11.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.1486, allocations: 4.203 MB / 0.4956 GB, free: 7.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.43, allocations: 0 / 0.4956 GB, free: 7.527 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.168009866960347] Failed to read output from testmodel.py, exit status != 0: 11.537494539748877 11.555957173 11.44624691 Calling exit ...