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.001465/0.001465, allocations: 105.1 kB / 21.22 MB, free: 0.625 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.001626/0.001626, allocations: 209.2 kB / 24.52 MB, free: 3.91 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.322/1.322, allocations: 230.5 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 179] 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.001855/0.001855, allocations: 55.91 kB / 378.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2247, allocations: 53.4 MB / 431.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002148/0.2269, allocations: 1.241 MB / 433.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.2278, allocations: 450.4 kB / 433.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.2278, allocations: 3.938 kB / 433.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.2278, allocations: 0 / 433.6 MB, free: 4.789 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.0004081/0.2282, allocations: 79.72 kB / 433.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.2284, allocations: 67.75 kB / 433.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.796e-05/0.2285, allocations: 43.91 kB / 433.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.2285, allocations: 11.97 kB / 433.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.927e-05/0.2285, allocations: 15.92 kB / 433.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.2286, allocations: 31.89 kB / 433.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2286, allocations: 4 kB / 433.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.2289, allocations: 151.7 kB / 434 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.2289, allocations: 35.91 kB / 434 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.229, allocations: 43.69 kB / 434.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.2292, allocations: 184.1 kB / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2292, allocations: 0 / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2292, allocations: 0 / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2292, allocations: 0 / 434.2 MB, free: 4.137 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.0005575/0.2298, allocations: 484.7 kB / 434.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2298, allocations: 12.03 kB / 434.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.989e-05/0.2299, allocations: 8.125 kB / 434.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.2299, allocations: 62.67 kB / 434.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.23, allocations: 20.84 kB / 434.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2302, allocations: 126.4 kB / 434.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2302, allocations: 4.375 kB / 434.9 MB, free: 3.355 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 4.646e-05/0.2302, allocations: 0 / 434.9 MB, free: 3.355 MB / 334.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.2058037449605763] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1024', 'r128', 'r64'] 0.23679493507370353 0.25095973799999993 0.018952176 Calling exit ...