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.001698/0.001698, allocations: 108.6 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.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.001565/0.001565, allocations: 191.7 kB / 24.5 MB, free: 4.02 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.34/1.34, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.001487/0.001487, allocations: 47.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2308, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002227/0.233, allocations: 1.238 MB / 424.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009091/0.234, allocations: 469 kB / 425.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.234, allocations: 4 kB / 425.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.234, allocations: 7.922 kB / 425.1 MB, free: 12.89 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.0004274/0.2344, allocations: 79.72 kB / 425.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.2346, allocations: 59.75 kB / 425.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.2347, allocations: 55.83 kB / 425.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.2347, allocations: 4 kB / 425.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.2347, allocations: 19.98 kB / 425.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.2348, allocations: 23.91 kB / 425.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.2348, allocations: 0 / 425.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.2351, allocations: 163.7 kB / 425.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.2351, allocations: 31.91 kB / 425.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.2352, allocations: 43.69 kB / 425.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.2354, allocations: 180.1 kB / 425.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2354, allocations: 4 kB / 425.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2354, allocations: 0 / 425.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2354, allocations: 0 / 425.8 MB, free: 12.24 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.0005407/0.236, allocations: 0.5007 MB / 426.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.236, allocations: 8.031 kB / 426.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.064e-05/0.236, allocations: 4.188 kB / 426.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.92e-05/0.2361, allocations: 54.72 kB / 426.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.2362, allocations: 24.8 kB / 426.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2363, allocations: 126.3 kB / 426.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2364, allocations: 4.375 kB / 426.5 MB, free: 11.44 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 4.474e-05/0.2364, allocations: 0 / 426.5 MB, free: 11.44 MB / 334.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.2290113200433552] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1024', 'r128', 'r64'] 0.2427313820226118 0.25694709499999996 0.018613070000000002 Calling exit ...