Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001109/0.001109, allocations: 104.7 kB / 16.42 MB, free: 6.492 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.00106/0.00106, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 291.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.963/0.963, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.009e-05, allocations: 2.281 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.4537/0.4537, allocations: 19.42 MB / 0.701 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008897/0.4627, allocations: 5.146 MB / 0.706 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.4641, allocations: 18.56 kB / 0.706 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.4651, allocations: 264.6 kB / 0.7063 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002709/0.4678, allocations: 0.7769 MB / 0.707 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.4708, allocations: 0.8791 MB / 0.7079 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.4734, allocations: 1.502 MB / 0.7094 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.4744, allocations: 0.5576 MB / 0.7099 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.4756, allocations: 0.605 MB / 0.7105 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.4764, allocations: 0.509 MB / 0.711 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.4765, allocations: 53.44 kB / 0.7111 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.4782, allocations: 0.7077 MB / 0.7117 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.00108/0.4793, allocations: 1.258 MB / 0.713 GB, free: 176 kB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006258/0.4799, allocations: 0.7909 MB / 0.7137 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.4801, allocations: 123.4 kB / 0.7139 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0001771/0.4803, allocations: 33.36 kB / 0.7139 GB, free: 15.54 MB / 0.4981 GB 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.003817/0.4842, allocations: 3.224 MB / 0.717 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0002916/0.4845, allocations: 173.9 kB / 0.7172 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.005828/0.4903, allocations: 4.994 MB / 0.7221 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simplify1: time 0.0005583/0.4909, allocations: 468.6 kB / 0.7225 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of Alias: time 0.003951/0.4948, allocations: 2.942 MB / 0.7254 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simplify2: time 0.0006474/0.4955, allocations: 468.7 kB / 0.7259 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of Events: time 0.0005651/0.4961, allocations: 449.2 kB / 0.7263 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0007071/0.4968, allocations: 0.7856 MB / 0.727 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.001032/0.4978, allocations: 0.8934 MB / 0.7279 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Causalize: time 0.00686/0.5047, allocations: 5.842 MB / 0.7336 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of After Index Reduction Inline: time 0.003603/0.5083, allocations: 3.52 MB / 0.7371 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of Inline: time 0.007101/0.5154, allocations: 6.7 MB / 0.7436 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0001948/0.5157, allocations: 111.6 kB / 0.7437 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0008922/0.5166, allocations: 0.7005 MB / 0.7444 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of Causalize: time 0.01459/0.5312, allocations: 14.45 MB / 0.7585 GB, free: 15.9 MB / 0.5294 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min Error: Internal error NBInitialization.main failed to apply modules!