Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 115.2 kB / 17.1 MB, free: 5.992 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.001966/0.001966, allocations: 192.9 kB / 18.03 MB, free: 5.07 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.641/1.641, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7969/0.7969, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.034e-05, allocations: 4.812 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.03552/0.03556, allocations: 20.72 MB / 0.5785 GB, free: 17.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.04657, allocations: 4.955 MB / 0.5834 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.04849, allocations: 18.56 kB / 0.5834 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.05009, allocations: 282.1 kB / 0.5836 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005329/0.05545, allocations: 0.8518 MB / 0.5845 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.05951, allocations: 0.7179 MB / 0.5852 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003974/0.06351, allocations: 1.39 MB / 0.5865 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.06501, allocations: 462.9 kB / 0.587 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.06749, allocations: 0.5954 MB / 0.5876 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.0691, allocations: 441.2 kB / 0.588 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000304/0.06942, allocations: 36.03 kB / 0.588 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.07248, allocations: 0.6319 MB / 0.5886 GB, free: 11.48 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.002649/0.07515, allocations: 0.98 MB / 0.5896 GB, free: 10.86 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.000716/0.07588, allocations: 0.6286 MB / 0.5902 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.07615, allocations: 94.66 kB / 0.5903 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002269/0.07639, allocations: 22.39 kB / 0.5903 GB, free: 10.37 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: 71 (65) * Number of variables: 71 (62) Notification: Performance of Bindings: time 0.002798/0.07919, allocations: 2.43 MB / 0.5927 GB, free: 8.637 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0003116/0.07952, allocations: 136.4 kB / 0.5928 GB, free: 8.559 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001444/0.08097, allocations: 1.025 MB / 0.5938 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simplify1: time 0.0001879/0.08117, allocations: 97.38 kB / 0.5939 GB, free: 7.887 MB / 446.1 MB Notification: Performance of Alias: time 0.001965/0.08315, allocations: 1.244 MB / 0.5951 GB, free: 7.059 MB / 446.1 MB Notification: Performance of simplify2: time 0.0001369/0.08329, allocations: 77.72 kB / 0.5952 GB, free: 7.031 MB / 446.1 MB Notification: Performance of Events: time 0.0002561/0.08356, allocations: 162.1 kB / 0.5953 GB, free: 6.938 MB / 446.1 MB Notification: Performance of Detect States: time 0.0003409/0.08391, allocations: 273.5 kB / 0.5956 GB, free: 6.758 MB / 446.1 MB Notification: Performance of Partitioning: time 0.000491/0.08441, allocations: 396.6 kB / 0.596 GB, free: 6.438 MB / 446.1 MB Notification: Performance of Causalize: time 0.001971/0.08639, allocations: 1.426 MB / 0.5974 GB, free: 5.773 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.001012/0.08741, allocations: 0.7794 MB / 0.5981 GB, free: 5.297 MB / 446.1 MB Notification: Performance of Inline: time 0.002045/0.08946, allocations: 1.698 MB / 0.5998 GB, free: 4.23 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001203/0.08959, allocations: 95.78 kB / 0.5999 GB, free: 4.164 MB / 446.1 MB Notification: Performance of Cleanup: time 0.000164/0.08977, allocations: 177.3 kB / 0.6001 GB, free: 4.035 MB / 446.1 MB Notification: Performance of Causalize: time 0.005676/0.09545, allocations: 4.505 MB / 0.6045 GB, free: 0.7266 MB / 446.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!