Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001374/0.001374, allocations: 105.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.001307/0.001307, allocations: 192.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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9003/0.9003, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.195e-05, allocations: 8.156 kB / 0.5862 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02005/0.02009, allocations: 19.43 MB / 0.6052 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007689/0.02783, allocations: 5.152 MB / 0.6102 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.02906, allocations: 19.88 kB / 0.6103 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.03015, allocations: 271 kB / 0.6105 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002766/0.03299, allocations: 0.7791 MB / 0.6113 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.03571, allocations: 0.872 MB / 0.6121 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002726/0.03845, allocations: 1.516 MB / 0.6136 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.03966, allocations: 0.5245 MB / 0.6141 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.0412, allocations: 0.6149 MB / 0.6147 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.04228, allocations: 0.5019 MB / 0.6152 GB, free: 8.988 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.04251, allocations: 56 kB / 0.6153 GB, free: 8.934 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.04454, allocations: 0.694 MB / 0.6159 GB, free: 8.238 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.001336/0.04589, allocations: 1.26 MB / 0.6172 GB, free: 6.965 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005918/0.0465, allocations: 0.8035 MB / 0.618 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.04678, allocations: 119.6 kB / 0.6181 GB, free: 6.035 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0002229/0.04701, allocations: 31.81 kB / 0.6181 GB, free: 6.004 MB / 462.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.003443/0.05046, allocations: 3.246 MB / 0.6213 GB, free: 2.605 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0002323/0.05071, allocations: 167.7 kB / 0.6214 GB, free: 2.441 MB / 462.1 MB Notification: Performance of Early Inline: time 0.005185/0.0559, allocations: 4.979 MB / 0.6263 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simplify1: time 0.0005424/0.05646, allocations: 463.4 kB / 0.6267 GB, free: 12.97 MB / 478.1 MB Notification: Performance of Alias: time 0.004212/0.06068, allocations: 3.146 MB / 0.6298 GB, free: 9.539 MB / 478.1 MB Notification: Performance of simplify2: time 0.0006674/0.06136, allocations: 459.4 kB / 0.6302 GB, free: 9.09 MB / 478.1 MB Notification: Performance of Events: time 0.0005198/0.06189, allocations: 456.1 kB / 0.6307 GB, free: 8.641 MB / 478.1 MB Notification: Performance of Detect States: time 0.0008307/0.06273, allocations: 0.7909 MB / 0.6314 GB, free: 7.84 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001007/0.06375, allocations: 0.8924 MB / 0.6323 GB, free: 6.891 MB / 478.1 MB Notification: Performance of Causalize: time 0.00383/0.06759, allocations: 2.89 MB / 0.6351 GB, free: 3.945 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.003899/0.0715, allocations: 3.53 MB / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Performance of Inline: time 0.006978/0.07849, allocations: 6.692 MB / 0.6451 GB, free: 9.648 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001609/0.07868, allocations: 107.6 kB / 0.6452 GB, free: 9.535 MB / 494.1 MB Notification: Performance of Cleanup: time 0.0007645/0.07945, allocations: 0.7019 MB / 0.6459 GB, free: 8.828 MB / 494.1 MB Notification: Performance of Causalize: time 0.01217/0.09163, allocations: 8.508 MB / 0.6542 GB, free: 300 kB / 494.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!