Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) 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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 107.8 kB / 16.42 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 187.2 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.098/1.098, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6531/0.6531, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.092e-05, allocations: 2.281 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01179/0.0118, allocations: 19.44 MB / 0.6009 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.01608, allocations: 5.147 MB / 0.606 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.01636, allocations: 16.94 kB / 0.606 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.01682, allocations: 274 kB / 0.6063 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.01785, allocations: 0.7703 MB / 0.607 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.01906, allocations: 0.8815 MB / 0.6079 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.02044, allocations: 1.509 MB / 0.6093 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.02105, allocations: 0.5323 MB / 0.6099 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007254/0.02178, allocations: 0.611 MB / 0.6105 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.02229, allocations: 0.498 MB / 0.6109 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.032e-05/0.02237, allocations: 56 kB / 0.611 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008208/0.0232, allocations: 0.6979 MB / 0.6117 GB, free: 11.96 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0007693/0.02397, allocations: 1.264 MB / 0.6129 GB, free: 10.68 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004079/0.02439, allocations: 0.7895 MB / 0.6137 GB, free: 9.879 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.02451, allocations: 123.6 kB / 0.6138 GB, free: 9.758 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.866e-05/0.02458, allocations: 35.81 kB / 0.6138 GB, free: 9.723 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 (105) * Number of variables: 113 (101) Notification: Performance of Bindings: time 0.002408/0.02699, allocations: 3.239 MB / 0.617 GB, free: 6.332 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.000173/0.02717, allocations: 179.5 kB / 0.6172 GB, free: 6.156 MB / 462.1 MB Notification: Performance of Early Inline: time 0.003661/0.03084, allocations: 4.983 MB / 0.622 GB, free: 1.141 MB / 462.1 MB Notification: Performance of simplify1: time 0.000348/0.0312, allocations: 467.4 kB / 0.6225 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of Alias: time 0.002854/0.03406, allocations: 3.13 MB / 0.6255 GB, free: 13.26 MB / 478.1 MB Notification: Performance of simplify2: time 0.0003485/0.03442, allocations: 467.4 kB / 0.626 GB, free: 12.8 MB / 478.1 MB Notification: Performance of Events: time 0.0003458/0.03477, allocations: 444.2 kB / 0.6264 GB, free: 12.36 MB / 478.1 MB Notification: Performance of Detect States: time 0.0004926/0.03527, allocations: 0.7897 MB / 0.6272 GB, free: 11.56 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0007395/0.03602, allocations: 0.9002 MB / 0.6281 GB, free: 10.61 MB / 478.1 MB Notification: Performance of Causalize: time 0.002891/0.03892, allocations: 2.894 MB / 0.6309 GB, free: 7.66 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.002621/0.04155, allocations: 3.53 MB / 0.6343 GB, free: 4.098 MB / 478.1 MB Notification: Performance of Inline: time 0.004946/0.0465, allocations: 6.699 MB / 0.6409 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Partitioning: time 9.975e-05/0.04661, allocations: 103.6 kB / 0.641 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Cleanup: time 0.0004554/0.04707, allocations: 0.7019 MB / 0.6417 GB, free: 12.54 MB / 494.1 MB Notification: Performance of Causalize: time 0.008416/0.0555, allocations: 8.501 MB / 0.65 GB, free: 4.023 MB / 494.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!