Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001453, allocations: 109.1 kB / 21.22 MB, free: 0.7383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 210.7 kB / 24.53 MB, free: 4.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_trunk_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_trunk_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 59.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2199, allocations: 53.41 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002171/0.2221, allocations: 1.243 MB / 433.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009116/0.223, allocations: 477.2 kB / 433.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.223, allocations: 0 / 433.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.223, allocations: 7.875 kB / 433.7 MB, free: 4.957 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0004198/0.2235, allocations: 75.77 kB / 433.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.2236, allocations: 67.75 kB / 433.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.6e-05/0.2237, allocations: 47.89 kB / 433.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.2237, allocations: 4 kB / 433.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.2238, allocations: 19.92 kB / 433.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.2238, allocations: 23.91 kB / 433.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2238, allocations: 4 kB / 433.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.2241, allocations: 159.7 kB / 434.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.2242, allocations: 27.92 kB / 434.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.2242, allocations: 55.61 kB / 434.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.2245, allocations: 180.1 kB / 434.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2245, allocations: 0 / 434.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2245, allocations: 0 / 434.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2245, allocations: 0 / 434.3 MB, free: 4.309 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.0005752/0.2251, allocations: 0.4929 MB / 434.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2251, allocations: 8.031 kB / 434.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.073e-05/0.2251, allocations: 12.19 kB / 434.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.381e-05/0.2252, allocations: 62.61 kB / 434.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.2253, allocations: 20.84 kB / 434.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2254, allocations: 122.4 kB / 435 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2254, allocations: 4.375 kB / 435.1 MB, free: 3.512 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.956e-05/0.2255, allocations: 8 kB / 435.1 MB, free: 3.504 MB / 334.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.209869312006049] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1024', 'r128', 'r64'] 0.2313623299705796 0.245539906 0.018277972 Calling exit ...