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.001236/0.001236, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001612/0.001612, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.398/1.398, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.001739/0.001739, allocations: 59.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09259, allocations: 53.36 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002115/0.09471, allocations: 1.257 MB / 428.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.09564, allocations: 454.4 kB / 428.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.09567, allocations: 7.938 kB / 428.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.09571, allocations: 7.922 kB / 428.8 MB, free: 2.891 MB / 350.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.0004751/0.09618, allocations: 71.72 kB / 428.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.09633, allocations: 63.77 kB / 428.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.666e-05/0.09643, allocations: 43.95 kB / 428.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.09648, allocations: 8 kB / 429 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.09651, allocations: 19.86 kB / 429 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.09655, allocations: 23.91 kB / 429 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.09657, allocations: 4 kB / 429 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.09683, allocations: 131.8 kB / 429.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.09688, allocations: 35.86 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.09693, allocations: 43.67 kB / 429.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.0972, allocations: 175.2 kB / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.0972, allocations: 0 / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0972, allocations: 0 / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.09721, allocations: 4 kB / 429.4 MB, free: 2.277 MB / 350.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.0006475/0.09786, allocations: 0.5721 MB / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.09789, allocations: 8.031 kB / 430 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.446e-05/0.09793, allocations: 4.188 kB / 430 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.721e-05/0.098, allocations: 58.67 kB / 430 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.09811, allocations: 20.84 kB / 430 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.09828, allocations: 188.1 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.09829, allocations: 4.375 kB / 430.2 MB, free: 1.316 MB / 350.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 7.545e-05/0.09837, allocations: 0 / 430.2 MB, free: 1.316 MB / 350.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.1436707690008916] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1024', 'r128', 'r64'] 0.10407694103196263 0.11729695600000001 0.017418671 Calling exit ...