Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_latest_Buildings.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.001122/0.001122, allocations: 104.9 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.001071/0.001071, allocations: 192.3 kB / 17.36 MB, free: 5.727 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.178/1.178, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.19/2.19, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.008e-05, allocations: 2.281 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01574/0.01576, allocations: 19.45 MB / 1.074 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.4049/0.4207, allocations: 5.142 MB / 1.079 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007294/0.4214, allocations: 20.12 kB / 1.079 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.4221, allocations: 265 kB / 1.079 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.4237, allocations: 0.775 MB / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.4254, allocations: 0.8829 MB / 1.081 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.4268, allocations: 1.513 MB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.4274, allocations: 0.5236 MB / 1.083 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007513/0.4282, allocations: 0.6167 MB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.4287, allocations: 0.5017 MB / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.852e-05/0.4288, allocations: 53.12 kB / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.4298, allocations: 0.6925 MB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006956/0.4305, allocations: 1.268 MB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.000328/0.4308, allocations: 0.7941 MB / 1.086 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.431, allocations: 123.8 kB / 1.086 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.628e-05/0.431, allocations: 29.19 kB / 1.087 GB, free: 10.52 MB / 0.8419 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.002411/0.4335, allocations: 3.236 MB / 1.09 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001902/0.4337, allocations: 170.8 kB / 1.09 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.004243/0.4379, allocations: 4.989 MB / 1.095 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0004424/0.4384, allocations: 470.9 kB / 1.095 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of Alias: time 0.002915/0.4413, allocations: 3.136 MB / 1.098 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0004298/0.4417, allocations: 467 kB / 1.099 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of Events: time 0.0003852/0.4421, allocations: 444.6 kB / 1.099 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0005909/0.4427, allocations: 0.786 MB / 1.1 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007676/0.4435, allocations: 0.9025 MB / 1.101 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003135/0.4466, allocations: 2.901 MB / 1.104 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.00287/0.4495, allocations: 3.521 MB / 1.107 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of Inline: time 0.00742/0.4569, allocations: 6.691 MB / 1.114 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0001493/0.4571, allocations: 107.2 kB / 1.114 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0008379/0.4579, allocations: 0.7073 MB / 1.114 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of Causalize: time 0.01023/0.4682, allocations: 8.511 MB / 1.123 GB, free: 9.969 MB / 0.8575 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!