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.001244/0.001244, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001362/0.001362, allocations: 216.3 kB / 23.03 MB, free: 4.922 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.04141/0.04141, allocations: 3.944 MB / 317.2 MB, free: 15.15 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AdvancedNoise requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 67.91 kB / 440.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1189, allocations: 54.15 MB / 494.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.00376/0.1226, allocations: 1.473 MB / 496.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.125, allocations: 1.04 MB / 497.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.1251, allocations: 4 kB / 497.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1253, allocations: 23.8 kB / 497.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.1255, allocations: 19.84 kB / 497.2 MB, free: 2.891 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: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.0008313/0.1263, allocations: 195.3 kB / 497.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.1266, allocations: 119.7 kB / 497.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1267, allocations: 11.98 kB / 497.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.1269, allocations: 47.78 kB / 497.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.127, allocations: 43.77 kB / 497.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.127, allocations: 12 kB / 497.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.1275, allocations: 211.7 kB / 497.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.1275, allocations: 19.92 kB / 497.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.1276, allocations: 27.86 kB / 497.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.1281, allocations: 211.2 kB / 498.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1281, allocations: 0 / 498.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1281, allocations: 0 / 498.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1281, allocations: 0 / 498.1 MB, free: 2.008 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.0006873/0.1288, allocations: 357.4 kB / 498.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.1289, allocations: 8.031 kB / 498.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.775e-05/0.1289, allocations: 8.188 kB / 498.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.539e-05/0.1289, allocations: 34.75 kB / 498.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.1294, allocations: 52.81 kB / 498.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1297, allocations: 153.5 kB / 498.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1297, allocations: 8.125 kB / 498.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.1298, allocations: 8 kB / 498.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.13, allocations: 77.64 kB / 498.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.13, allocations: 0 / 498.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.13, allocations: 0 / 498.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.13, allocations: 4 kB / 498.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1302, allocations: 67.83 kB / 498.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.1308, allocations: 319.8 kB / 499.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.131, allocations: 74.53 kB / 499.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.1311, allocations: 36.78 kB / 499.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1312, allocations: 7.984 kB / 499.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.1312, allocations: 38.59 kB / 499.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.1312, allocations: 4 kB / 499.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004486/0.1317, allocations: 149.8 kB / 499.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1317, allocations: 55.41 kB / 499.5 MB, free: 436 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1319, allocations: 150.4 kB / 499.6 MB, free: 268 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1319, allocations: 25.7 kB / 499.7 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.132, allocations: 96.09 kB / 499.8 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.132, allocations: 31.92 kB / 499.8 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.1321, allocations: 29.7 kB / 499.8 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1323, allocations: 322.8 kB / 0.4884 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.1324, allocations: 35.98 kB / 0.4884 GB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.895e-05/0.1325, allocations: 39.97 kB / 0.4885 GB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.1327, allocations: 84.7 kB / 0.4886 GB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1327, allocations: 0 / 0.4886 GB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002985/0.133, allocations: 137.5 kB / 0.4887 GB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.133, allocations: 4 kB / 0.4887 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.133, allocations: 8 kB / 0.4887 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.133, allocations: 4 kB / 0.4887 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1331, allocations: 23.97 kB / 0.4887 GB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.1331, allocations: 11.94 kB / 0.4887 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.1332, allocations: 0 / 0.4887 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/0.1333, allocations: 27.95 kB / 0.4888 GB, free: 15.36 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.0001264/0.1334, allocations: 120.7 kB / 0.4889 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.1334, allocations: 7.953 kB / 0.4889 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.1335, allocations: 16.7 kB / 0.4889 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1335, allocations: 0 / 0.4889 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1335, allocations: 7.938 kB / 0.4889 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1335, allocations: 3.938 kB / 0.4889 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1337, allocations: 168.7 kB / 0.4891 GB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1337, allocations: 0 / 0.4891 GB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.1338, allocations: 15.98 kB / 0.4891 GB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1338, allocations: 0 / 0.4891 GB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1339, allocations: 3.938 kB / 0.4891 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1339, allocations: 3.938 kB / 0.4891 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1339, allocations: 7.938 kB / 0.4891 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.1342, allocations: 215.4 kB / 0.4893 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.1342, allocations: 31.86 kB / 0.4893 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1343, allocations: 4 kB / 0.4894 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.761e-05/0.1343, allocations: 0 / 0.4894 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.1344, allocations: 11.92 kB / 0.4894 GB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.1345, allocations: 29.64 kB / 0.4894 GB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1346, allocations: 113.3 kB / 0.4895 GB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1346, allocations: 0 / 0.4895 GB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000383/0.1349, allocations: 55.81 kB / 0.4896 GB, free: 14.5 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.001264/0.1362, allocations: 0.8929 MB / 0.4904 GB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.1365, allocations: 95.7 kB / 0.4905 GB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1365, allocations: 0 / 0.4905 GB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1366, allocations: 39.97 kB / 0.4906 GB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1369, allocations: 6.5 kB / 0.4906 GB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.139, allocations: 1.632 MB / 0.4922 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.1391, allocations: 81.33 kB / 0.4922 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.604e-05/0.1392, allocations: 32.56 kB / 0.4923 GB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.1393, allocations: 39.41 kB / 0.4923 GB, free: 11.61 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1393, allocations: 0 / 0.4923 GB, free: 11.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.1675, allocations: 3.876 MB / 0.4961 GB, free: 7.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.78, allocations: 0 / 0.4961 GB, free: 7.836 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 & /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 os._exit(0), Time elapsed: 14.596310815075412] Failed to read output from testmodel.py, exit status != 0: 11.95434622198809 11.974009764 11.842621636 Calling exit ...