Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 217.1 kB / 24.5 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2741/0.2741, allocations: 46.96 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.4e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13): time 0.425/0.425, allocations: 90.59 MB / 0.5857 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06402/0.4891, allocations: 33.61 MB / 0.6186 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005827/0.4949, allocations: 123 kB / 0.6187 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005736/0.5006, allocations: 1.095 MB / 0.6198 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03602/0.5366, allocations: 8.039 MB / 0.6276 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03425/0.5709, allocations: 7.982 MB / 0.6354 GB, free: 3.562 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02936/0.6002, allocations: 14.48 MB / 0.6495 GB, free: 5.055 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/0.6111, allocations: 2.829 MB / 0.6523 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01513/0.6262, allocations: 5.566 MB / 0.6577 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02782/0.654, allocations: 12.46 MB / 0.6699 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.655, allocations: 211.8 kB / 0.6701 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02302/0.678, allocations: 9.318 MB / 0.6792 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.01019/0.6882, allocations: 6.238 MB / 0.6853 GB, free: 180 kB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0056/0.6938, allocations: 3.821 MB / 0.689 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.6955, allocations: 228 kB / 0.6893 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0005503/0.696, allocations: 63.67 kB / 0.6893 GB, free: 12.03 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 (336) * Number of variables: 476 (407) Notification: Performance of [SIM] Bindings: time 0.02612/0.7221, allocations: 16.43 MB / 0.7054 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.00327/0.7254, allocations: 1.772 MB / 0.7071 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0128/0.7382, allocations: 8.588 MB / 0.7155 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.003177/0.7414, allocations: 1.277 MB / 0.7167 GB, free: 15.41 MB / 0.545 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01525/0.7566, allocations: 6.974 MB / 0.7235 GB, free: 7.777 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.003136/0.7597, allocations: 1.179 MB / 0.7247 GB, free: 6.504 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.002265/0.762, allocations: 0.693 MB / 0.7254 GB, free: 5.754 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.004544/0.7666, allocations: 1.62 MB / 0.7269 GB, free: 4.047 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.002017/0.7686, allocations: 0.7545 MB / 0.7277 GB, free: 3.305 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.008123/0.7767, allocations: 3.036 MB / 0.7306 GB, free: 24 kB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.4057/1.182, allocations: 7.847 MB / 0.7383 GB, free: 74.06 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.009294/1.192, allocations: 6.64 MB / 0.7448 GB, free: 74.05 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.006989/1.199, allocations: 3.091 MB / 0.7478 GB, free: 73.51 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.01299/1.212, allocations: 10.7 MB / 0.7583 GB, free: 73.45 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 0.00066/1.212, allocations: 133.5 kB / 0.7584 GB, free: 73.38 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.004052/1.216, allocations: 2.049 MB / 0.7604 GB, free: 73.34 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.03408/1.25, allocations: 20.03 MB / 0.7799 GB, free: 72.05 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.003091/1.254, allocations: 2.264 MB / 0.7821 GB, free: 71.56 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 2.485e-06/1.254, allocations: 3.438 kB / 0.7822 GB, free: 71.56 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 9.356e-05/1.254, allocations: 8.828 kB / 0.7822 GB, free: 71.55 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 0.003379/1.257, allocations: 2.378 MB / 0.7845 GB, free: 70.86 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 7.107e-05/1.257, allocations: 21.36 kB / 0.7845 GB, free: 70.86 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.01101/1.268, allocations: 5.951 MB / 0.7903 GB, free: 70.21 MB / 0.545 GB Error: Internal error NBDifferentiate.differentiateVariablePointer failed for Integer[2] pipe3.statesFM.phase because the result is expected to be a variable but turned out to be {0, 0}. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.318675197195262] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipe1.mediums[1].h', 'pipe1.mediums[1].p', 'pipe2.mediums[1].h', 'pipe2.mediums[1].p', 'pipe3.mediums[1].h', 'pipe3.mediums[1].p', 'valveOpening1.a', 'valveOpening1.b', 'valveOpening1.last', 'valveOpening1.nextEvent', 'valveOpening2.a', 'valveOpening2.b', 'valveOpening2.last', 'valveOpening2.nextEvent'] 1.294165788218379 1.303455778 0.6044292139999999 Calling exit ...