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.001222/0.001222, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001331/0.001331, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.331/1.331, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 179] 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.001426/0.001426, allocations: 43.92 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2256, allocations: 53.36 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002287/0.2279, allocations: 1.25 MB / 433.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.2289, allocations: 446.4 kB / 433.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.2289, allocations: 3.938 kB / 433.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.2289, allocations: 0 / 433.5 MB, free: 4.973 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.0004545/0.2294, allocations: 87.7 kB / 433.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.2295, allocations: 63.75 kB / 433.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.232e-05/0.2296, allocations: 47.91 kB / 433.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.2296, allocations: 7.922 kB / 433.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.2297, allocations: 12 kB / 433.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.2297, allocations: 27.89 kB / 433.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.2297, allocations: 4 kB / 433.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.23, allocations: 159.7 kB / 433.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.23, allocations: 31.86 kB / 434 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.292e-05/0.2301, allocations: 43.73 kB / 434 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.2304, allocations: 177.4 kB / 434.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2304, allocations: 0 / 434.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.2304, allocations: 0 / 434.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2304, allocations: 0 / 434.2 MB, free: 4.324 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.0005317/0.2309, allocations: 488.6 kB / 434.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2309, allocations: 16.03 kB / 434.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.948e-05/0.231, allocations: 192 / 434.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.263e-05/0.231, allocations: 62.67 kB / 434.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.2311, allocations: 20.84 kB / 434.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2313, allocations: 126.4 kB / 434.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2313, allocations: 4.375 kB / 434.9 MB, free: 3.543 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 5.266e-05/0.2313, allocations: 0 / 434.9 MB, free: 3.543 MB / 334.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.187181699904613] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1024', 'r128', 'r64'] 0.23743795801419765 0.251188287 0.018107653 Calling exit ...