Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001251/0.001251, allocations: 115.2 kB / 17.1 MB, free: 5.957 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.001335/0.001336, allocations: 194.9 kB / 18.03 MB, free: 5.039 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.502/1.502, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7703/0.7703, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.647e-05/4.648e-05, allocations: 4.953 kB / 0.5583 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.03574/0.0358, allocations: 19.41 MB / 0.5773 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.04744, allocations: 5.148 MB / 0.5823 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.04941, allocations: 22.81 kB / 0.5823 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.05063, allocations: 271.7 kB / 0.5826 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.05435, allocations: 0.806 MB / 0.5833 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.05794, allocations: 0.883 MB / 0.5842 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003788/0.06174, allocations: 1.518 MB / 0.5857 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.06306, allocations: 0.5242 MB / 0.5862 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.06496, allocations: 0.6162 MB / 0.5868 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009449/0.06592, allocations: 0.5 MB / 0.5873 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.06605, allocations: 56.59 kB / 0.5873 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.06821, allocations: 0.7008 MB / 0.588 GB, free: 12.22 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001166/0.06939, allocations: 1.26 MB / 0.5893 GB, free: 11.41 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005593/0.06996, allocations: 0.7894 MB / 0.59 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.07021, allocations: 128.4 kB / 0.5902 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002269/0.07044, allocations: 27.55 kB / 0.5902 GB, free: 10.79 MB / 446.1 MB 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.003449/0.0739, allocations: 3.233 MB / 0.5933 GB, free: 8.512 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.00028/0.07419, allocations: 170.8 kB / 0.5935 GB, free: 8.41 MB / 446.1 MB Notification: Performance of Early Inline: time 0.006337/0.08053, allocations: 4.99 MB / 0.5984 GB, free: 5.504 MB / 446.1 MB Notification: Performance of simplify1: time 0.0006815/0.08126, allocations: 463.8 kB / 0.5988 GB, free: 5.25 MB / 446.1 MB Notification: Performance of Alias: time 0.004761/0.08603, allocations: 3.152 MB / 0.6019 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simplify2: time 0.0007563/0.08681, allocations: 461.7 kB / 0.6023 GB, free: 2.641 MB / 446.1 MB Notification: Performance of Events: time 0.0004924/0.08731, allocations: 430.5 kB / 0.6027 GB, free: 2.312 MB / 446.1 MB Notification: Performance of Detect States: time 0.0006715/0.08799, allocations: 0.802 MB / 0.6035 GB, free: 1.641 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0009787/0.08898, allocations: 0.8963 MB / 0.6044 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of Causalize: time 0.003629/0.09262, allocations: 2.894 MB / 0.6072 GB, free: 13.91 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.003939/0.09657, allocations: 3.515 MB / 0.6107 GB, free: 10.37 MB / 462.1 MB Notification: Performance of Inline: time 0.007627/0.1042, allocations: 6.705 MB / 0.6172 GB, free: 3.625 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002299/0.1045, allocations: 107.6 kB / 0.6173 GB, free: 3.512 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0009162/0.1054, allocations: 0.7058 MB / 0.618 GB, free: 2.801 MB / 462.1 MB Notification: Performance of Causalize: time 0.01195/0.1174, allocations: 8.508 MB / 0.6263 GB, free: 10.27 MB / 478.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!