Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00111/0.00111, allocations: 106.8 kB / 16.42 MB, free: 6.48 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.001056/0.001056, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.138/1.138, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.889/1.889, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.763e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0165/0.01653, allocations: 19.44 MB / 0.9704 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006275/0.02283, allocations: 5.151 MB / 0.9755 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006976/0.02355, allocations: 19.88 kB / 0.9755 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0007459/0.0243, allocations: 274 kB / 0.9757 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.0263, allocations: 0.8004 MB / 0.9765 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.02819, allocations: 0.8872 MB / 0.9774 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.02994, allocations: 1.512 MB / 0.9789 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007549/0.0307, allocations: 0.5325 MB / 0.9794 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.03175, allocations: 0.6188 MB / 0.98 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006975/0.03246, allocations: 0.5057 MB / 0.9805 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.03259, allocations: 52 kB / 0.9805 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.0336, allocations: 0.6978 MB / 0.9812 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of combineBinaries: time 0.0008751/0.03448, allocations: 1.264 MB / 0.9825 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of replaceArrayConstructors: time 0.0004889/0.03498, allocations: 0.7896 MB / 0.9832 GB, free: 7.035 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.03516, allocations: 123.6 kB / 0.9833 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.513e-05/0.03526, allocations: 31.86 kB / 0.9834 GB, free: 6.883 MB / 0.7637 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.002637/0.0379, allocations: 3.227 MB / 0.9865 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 0.0002249/0.03814, allocations: 171.6 kB / 0.9867 GB, free: 3.34 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.003765/0.04191, allocations: 4.983 MB / 0.9916 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplify1: time 0.0003483/0.04227, allocations: 463.4 kB / 0.992 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of Alias: time 0.002831/0.0451, allocations: 3.146 MB / 0.9951 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simplify2: time 0.0003333/0.04545, allocations: 463.4 kB / 0.9955 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of Detect States: time 0.0004739/0.04593, allocations: 0.7592 MB / 0.9963 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of Events: time 0.0003554/0.04629, allocations: 440.2 kB / 0.9967 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.0007268/0.04702, allocations: 0.8963 MB / 0.9975 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of Causalize: time 0.002809/0.04984, allocations: 2.898 MB / 1 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of After Index Reduction Inline: time 0.002579/0.05243, allocations: 3.519 MB / 1.004 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of Inline: time 0.004886/0.05732, allocations: 6.703 MB / 1.01 GB, free: 10.56 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0001017/0.05744, allocations: 99.59 kB / 1.01 GB, free: 10.46 MB / 0.795 GB Notification: Performance of Cleanup: time 0.0004465/0.05789, allocations: 0.7097 MB / 1.011 GB, free: 9.742 MB / 0.795 GB Notification: Performance of Causalize: time 0.008286/0.06618, allocations: 8.517 MB / 1.019 GB, free: 1.207 MB / 0.795 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!