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.001419/0.001419, allocations: 111.7 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.001213/0.001213, allocations: 182 kB / 17.36 MB, free: 5.746 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002296/0.002297, allocations: 282.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9768/0.9768, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.176e-05, allocations: 2.281 kB / 0.682 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.446/0.4461, allocations: 19.42 MB / 0.701 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008126/0.4542, allocations: 5.153 MB / 0.706 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.4555, allocations: 19.53 kB / 0.706 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000928/0.4564, allocations: 271.2 kB / 0.7063 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.4588, allocations: 0.8056 MB / 0.7071 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.4615, allocations: 0.882 MB / 0.7079 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.4636, allocations: 1.514 MB / 0.7094 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008159/0.4644, allocations: 0.5228 MB / 0.7099 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.4655, allocations: 0.6229 MB / 0.7105 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007007/0.4662, allocations: 0.5009 MB / 0.711 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.4664, allocations: 52.41 kB / 0.7111 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.4678, allocations: 0.6963 MB / 0.7118 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0009528/0.4688, allocations: 1.258 MB / 0.713 GB, free: 136 kB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006129/0.4694, allocations: 0.8008 MB / 0.7138 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.4696, allocations: 132.4 kB / 0.7139 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0001596/0.4698, allocations: 27.36 kB / 0.7139 GB, free: 15.49 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.003533/0.4733, allocations: 3.241 MB / 0.7171 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0002554/0.4736, allocations: 173.4 kB / 0.7173 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.005871/0.4795, allocations: 4.981 MB / 0.7221 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simplify1: time 0.0006213/0.4801, allocations: 464.7 kB / 0.7226 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of Alias: time 0.00413/0.4843, allocations: 3.137 MB / 0.7256 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of simplify2: time 0.0005642/0.4848, allocations: 466 kB / 0.7261 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0007011/0.4855, allocations: 0.7545 MB / 0.7268 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of Events: time 0.0005252/0.4861, allocations: 446.9 kB / 0.7272 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0009788/0.4871, allocations: 0.8992 MB / 0.7281 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of Causalize: time 0.003826/0.4909, allocations: 2.903 MB / 0.731 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of After Index Reduction Inline: time 0.003774/0.4947, allocations: 3.517 MB / 0.7344 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of Inline: time 0.007335/0.502, allocations: 6.671 MB / 0.7409 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0001827/0.5022, allocations: 105.4 kB / 0.741 GB, free: 14 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0008167/0.5031, allocations: 0.7115 MB / 0.7417 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of Causalize: time 0.01146/0.5145, allocations: 8.425 MB / 0.7499 GB, free: 8.238 MB / 0.5137 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!