Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.00122/0.00122, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001348/0.001348, allocations: 201.2 kB / 24.52 MB, free: 4.156 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.347/1.347, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 55.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2288, allocations: 53.36 MB / 431.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002181/0.231, allocations: 1.246 MB / 433.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009106/0.2319, allocations: 477.5 kB / 433.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.2319, allocations: 0 / 433.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.232, allocations: 3.938 kB / 433.6 MB, free: 5.113 MB / 334.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'. Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.2324, allocations: 79.7 kB / 433.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.2325, allocations: 67.75 kB / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.2326, allocations: 51.83 kB / 433.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.021e-05/0.2326, allocations: 0 / 433.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.2327, allocations: 27.92 kB / 433.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.2327, allocations: 19.91 kB / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.2327, allocations: 0 / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.233, allocations: 159.7 kB / 434 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.2331, allocations: 35.91 kB / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.2331, allocations: 43.69 kB / 434.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.2334, allocations: 184.9 kB / 434.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2334, allocations: 3.938 kB / 434.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2334, allocations: 0 / 434.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2334, allocations: 0 / 434.3 MB, free: 4.453 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.0005432/0.2339, allocations: 0.489 MB / 434.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2339, allocations: 12.03 kB / 434.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.241e-05/0.234, allocations: 8.109 kB / 434.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.234, allocations: 58.69 kB / 434.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.2342, allocations: 24.83 kB / 434.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2343, allocations: 126.3 kB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2343, allocations: 4.375 kB / 435 MB, free: 3.656 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 4.681e-05/0.2343, allocations: 4 kB / 435 MB, free: 3.652 MB / 334.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.201594440964982] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1024', 'r128', 'r64'] 0.24028114799875766 0.25453311900000003 0.018260069 Calling exit ...