Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.0008778/0.0008778, allocations: 111.8 kB / 16.42 MB, free: 6.512 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.0008954/0.0008954, allocations: 184.2 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.158/1.158, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.148/2.148, allocations: 437 MB / 0.7111 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.243e-05, allocations: 2.5 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01835/0.01837, allocations: 19.45 MB / 1.038 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006585/0.02497, allocations: 5.151 MB / 1.043 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006543/0.02564, allocations: 15.88 kB / 1.043 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.02636, allocations: 278 kB / 1.043 GB, free: 488 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.02821, allocations: 0.7976 MB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.03008, allocations: 0.8771 MB / 1.045 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.03187, allocations: 1.52 MB / 1.047 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000768/0.03265, allocations: 0.5131 MB / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.03366, allocations: 0.6266 MB / 1.048 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.03435, allocations: 0.5057 MB / 1.048 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.03448, allocations: 52 kB / 1.048 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.03551, allocations: 0.6901 MB / 1.049 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0009094/0.03643, allocations: 1.264 MB / 1.05 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0005202/0.03695, allocations: 0.7959 MB / 1.051 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.03714, allocations: 127.6 kB / 1.051 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.554e-05/0.03724, allocations: 27.86 kB / 1.051 GB, free: 8.637 MB / 0.8262 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.002686/0.03993, allocations: 3.227 MB / 1.054 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001911/0.04013, allocations: 179.6 kB / 1.054 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.003772/0.04391, allocations: 4.994 MB / 1.059 GB, free: 60 kB / 0.8262 GB Notification: Performance of simplify1: time 0.0003672/0.04428, allocations: 471.4 kB / 1.06 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of Alias: time 0.002992/0.04728, allocations: 3.142 MB / 1.063 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0003603/0.04765, allocations: 459.4 kB / 1.063 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0005227/0.04818, allocations: 0.7576 MB / 1.064 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of Events: time 0.0003759/0.04857, allocations: 436.2 kB / 1.064 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007832/0.04936, allocations: 0.908 MB / 1.065 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002996/0.05236, allocations: 2.889 MB / 1.068 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.002739/0.05511, allocations: 3.523 MB / 1.071 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of Inline: time 0.4071/0.4622, allocations: 6.668 MB / 1.078 GB, free: 34.6 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001909/0.4625, allocations: 101.2 kB / 1.078 GB, free: 34.58 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.000712/0.4632, allocations: 0.699 MB / 1.079 GB, free: 34.57 MB / 0.8419 GB Notification: Performance of Causalize: time 0.01029/0.4735, allocations: 8.431 MB / 1.087 GB, free: 32.98 MB / 0.8419 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!