Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 185.6 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 47.92 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2475, allocations: 52.18 MB / 423.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002326/0.2499, allocations: 1.23 MB / 424.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.2508, allocations: 441.2 kB / 425 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.2508, allocations: 4 kB / 425 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.2509, allocations: 7.922 kB / 425 MB, free: 12.88 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.2513, allocations: 75.72 kB / 425.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.2514, allocations: 63.81 kB / 425.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2515, allocations: 51.83 kB / 425.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.2516, allocations: 4 kB / 425.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.2516, allocations: 15.98 kB / 425.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.2517, allocations: 23.84 kB / 425.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2517, allocations: 4 kB / 425.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.252, allocations: 151.8 kB / 425.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.252, allocations: 51.72 kB / 425.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.2521, allocations: 39.75 kB / 425.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.2524, allocations: 177.7 kB / 425.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2524, allocations: 0 / 425.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2524, allocations: 4 kB / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2524, allocations: 0 / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005725/0.2529, allocations: 488.7 kB / 426.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.253, allocations: 8.031 kB / 426.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.711e-05/0.253, allocations: 8.188 kB / 426.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.2531, allocations: 50.72 kB / 426.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.2532, allocations: 32.8 kB / 426.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2533, allocations: 126.3 kB / 426.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2534, allocations: 4.375 kB / 426.4 MB, free: 11.45 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:22:7-22:68:writable] Error: Argument '$outputAlias_r64' of der is not differentiable. Notification: Performance of preOpt expandDerOperator (simulation) : time 5.213e-05/0.2534, allocations: 0 / 426.4 MB, free: 11.45 MB / 334.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.262534983921796] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1024', 'r128', 'r64'] 0.25982378504704684 0.274152316 0.018920878000000002 Calling exit ...