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.001377/0.001377, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00159/0.00159, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.961 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.0404/0.0404, allocations: 3.938 MB / 316.4 MB, free: 15.29 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.002209/0.002209, allocations: 63.91 kB / 439.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1295, allocations: 54.15 MB / 493.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.003086/0.1326, allocations: 1.493 MB / 495.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1348, allocations: 1.129 MB / 496.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.1349, allocations: 0 / 496.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1351, allocations: 15.8 kB / 496.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1353, allocations: 23.86 kB / 496.6 MB, free: 2.984 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.0008316/0.1361, allocations: 195.3 kB / 496.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1364, allocations: 123.7 kB / 496.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1365, allocations: 11.97 kB / 496.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.1367, allocations: 55.77 kB / 496.9 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.1368, allocations: 39.84 kB / 497 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1368, allocations: 4 kB / 497 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.1373, allocations: 207.7 kB / 497.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.1374, allocations: 31.91 kB / 497.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.1374, allocations: 35.73 kB / 497.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.1378, allocations: 203.3 kB / 497.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.453e-06/0.1378, allocations: 3.984 kB / 497.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1378, allocations: 0 / 497.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1378, allocations: 0 / 497.5 MB, free: 2.09 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.0006357/0.1385, allocations: 356.4 kB / 497.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1385, allocations: 8.031 kB / 497.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.1386, allocations: 42.67 kB / 497.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.1391, allocations: 52.83 kB / 497.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.1394, allocations: 158.8 kB / 498.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1394, allocations: 4.375 kB / 498.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1394, allocations: 7.938 kB / 498.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.1396, allocations: 77.64 kB / 498.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1396, allocations: 0 / 498.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1396, allocations: 3.984 kB / 498.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.1397, allocations: 4 kB / 498.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.1398, allocations: 67.84 kB / 498.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.1404, allocations: 327.8 kB / 498.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.1407, allocations: 70.55 kB / 498.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.1407, allocations: 32.84 kB / 498.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.1408, allocations: 11.98 kB / 498.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.1408, allocations: 30.66 kB / 498.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1408, allocations: 3.938 kB / 498.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004386/0.1413, allocations: 149.7 kB / 498.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.1413, allocations: 51.41 kB / 498.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1415, allocations: 152.4 kB / 499 MB, free: 356 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1415, allocations: 33.7 kB / 499.1 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.1416, allocations: 104.1 kB / 499.2 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1416, allocations: 19.8 kB / 499.2 MB, free: 188 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.1417, allocations: 29.7 kB / 499.2 MB, free: 152 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1419, allocations: 326.8 kB / 499.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/0.142, allocations: 35.97 kB / 499.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.1421, allocations: 31.98 kB / 499.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1422, allocations: 92.7 kB / 499.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1422, allocations: 4 kB / 499.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002735/0.1425, allocations: 133.8 kB / 499.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1425, allocations: 7.938 kB / 499.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1425, allocations: 0 / 499.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1426, allocations: 0 / 499.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.1427, allocations: 23.98 kB / 499.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1427, allocations: 3.938 kB / 499.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.802e-05/0.1428, allocations: 8 kB / 499.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/0.1428, allocations: 31.89 kB / 499.9 MB, free: 15.45 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.0001243/0.143, allocations: 121.8 kB / 0.4883 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.143, allocations: 7.953 kB / 0.4883 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.1431, allocations: 16.72 kB / 0.4883 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1431, allocations: 3.938 kB / 0.4883 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1431, allocations: 7.938 kB / 0.4883 GB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1431, allocations: 0 / 0.4883 GB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.1433, allocations: 176.6 kB / 0.4885 GB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1433, allocations: 4 kB / 0.4885 GB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.1434, allocations: 15.98 kB / 0.4885 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1434, allocations: 0 / 0.4885 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1434, allocations: 4 kB / 0.4885 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1434, allocations: 0 / 0.4885 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.1434, allocations: 11.86 kB / 0.4885 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.1437, allocations: 207.5 kB / 0.4887 GB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.1438, allocations: 31.86 kB / 0.4888 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.1438, allocations: 0 / 0.4888 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.1439, allocations: 4 kB / 0.4888 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.144, allocations: 15.91 kB / 0.4888 GB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.144, allocations: 31.14 kB / 0.4888 GB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.1441, allocations: 111.2 kB / 0.4889 GB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1441, allocations: 0 / 0.4889 GB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.1445, allocations: 51.86 kB / 0.489 GB, free: 14.57 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.001169/0.1456, allocations: 0.899 MB / 0.4898 GB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1459, allocations: 91.81 kB / 0.4899 GB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1459, allocations: 0 / 0.4899 GB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.146, allocations: 39.97 kB / 0.49 GB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.1463, allocations: 14.75 kB / 0.49 GB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.1484, allocations: 1.621 MB / 0.4916 GB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1487, allocations: 0.6924 MB / 0.4922 GB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1488, allocations: 36.72 kB / 0.4923 GB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.1489, allocations: 35.41 kB / 0.4923 GB, free: 11.05 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1489, allocations: 0 / 0.4923 GB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.1859, allocations: 3.782 MB / 0.496 GB, free: 7.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.82, allocations: 0 / 0.496 GB, free: 7.375 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.871277122998436] Failed to read output from testmodel.py, exit status != 0: 11.927439519997279 12.176541507 12.035296058 Calling exit ...