Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.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.00141/0.00141, 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.00164/0.00164, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.598/1.598, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2517/0.2517, allocations: 46.95 MB / 361.6 MB, free: 4.023 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.BranchingPipes2,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.BranchingPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2,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.BranchingPipes2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.502e-05, allocations: 5.375 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2): time 0.3708/0.3708, allocations: 84.12 MB / 0.5794 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05542/0.4262, allocations: 32.17 MB / 0.6108 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003644/0.4299, allocations: 126.9 kB / 0.611 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.4335, allocations: 1.06 MB / 0.612 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0242/0.4577, allocations: 7.872 MB / 0.6197 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02193/0.4797, allocations: 7.534 MB / 0.627 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02183/0.5015, allocations: 14.41 MB / 0.6411 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.5116, allocations: 2.822 MB / 0.6439 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01472/0.5263, allocations: 5.558 MB / 0.6493 GB, free: 5.332 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02627/0.5526, allocations: 12.46 MB / 0.6615 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.5536, allocations: 208 kB / 0.6617 GB, free: 8.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01886/0.5725, allocations: 9.135 MB / 0.6706 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.009373/0.5819, allocations: 6.211 MB / 0.6766 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.004815/0.5867, allocations: 3.8 MB / 0.6804 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.5879, allocations: 220 kB / 0.6806 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0004964/0.5884, allocations: 63.69 kB / 0.6806 GB, free: 4.984 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 467 (327) * Number of variables: 467 (398) Notification: Performance of [SIM] Bindings: time 0.02544/0.6138, allocations: 16.49 MB / 0.6967 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.00329/0.6171, allocations: 1.863 MB / 0.6986 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 0.01415/0.6313, allocations: 9.269 MB / 0.7076 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.003713/0.635, allocations: 1.436 MB / 0.709 GB, free: 7.391 MB / 0.5294 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.01308/0.6481, allocations: 6.98 MB / 0.7158 GB, free: 15.77 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.00291/0.651, allocations: 1.334 MB / 0.7171 GB, free: 14.35 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.001643/0.6526, allocations: 0.8704 MB / 0.718 GB, free: 13.43 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.002795/0.6554, allocations: 1.709 MB / 0.7196 GB, free: 11.62 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.001463/0.6569, allocations: 0.7679 MB / 0.7204 GB, free: 10.87 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.004607/0.6615, allocations: 3.141 MB / 0.7235 GB, free: 7.484 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.4144/1.076, allocations: 7.929 MB / 0.7312 GB, free: 80.5 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01352/1.089, allocations: 6.936 MB / 0.738 GB, free: 80.5 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.01096/1.1, allocations: 3.208 MB / 0.7411 GB, free: 79.95 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.02644/1.127, allocations: 11.65 MB / 0.7525 GB, free: 79.85 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 0.000911/1.128, allocations: 135.5 kB / 0.7526 GB, free: 79.79 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.006481/1.134, allocations: 2.18 MB / 0.7547 GB, free: 79.75 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.04211/1.176, allocations: 20.28 MB / 0.7746 GB, free: 78.58 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.003473/1.18, allocations: 2.548 MB / 0.777 GB, free: 78.06 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 2.946e-06/1.18, allocations: 0 / 0.777 GB, free: 78.06 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 7.967e-05/1.18, allocations: 8.562 kB / 0.777 GB, free: 78.06 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 0.003234/1.183, allocations: 2.507 MB / 0.7795 GB, free: 77.31 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 6.988e-05/1.183, allocations: 16.84 kB / 0.7795 GB, free: 77.31 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0109/1.194, allocations: 6.101 MB / 0.7855 GB, free: 76.77 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.187942118849605] 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.2205874021165073 1.230059382 0.6391247 Calling exit ...