Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.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.001746/0.001746, allocations: 107.6 kB / 21.2 MB, free: 0.6562 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.002352/0.002352, allocations: 205.1 kB / 24.49 MB, free: 3.949 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.616/1.616, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.263/0.263, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.BranchingPipes3,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.BranchingPipes3") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3,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.BranchingPipes3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.778e-05/3.778e-05, allocations: 5.094 kB / 0.4973 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3): time 0.3611/0.3612, allocations: 90.61 MB / 0.5858 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05391/0.4151, allocations: 32.2 MB / 0.6172 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004985/0.4201, allocations: 126.9 kB / 0.6173 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004368/0.4244, allocations: 1.095 MB / 0.6184 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02583/0.4503, allocations: 7.925 MB / 0.6261 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02422/0.4745, allocations: 7.537 MB / 0.6335 GB, free: 5.574 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02492/0.4994, allocations: 14.53 MB / 0.6477 GB, free: 7.023 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008812/0.5082, allocations: 2.84 MB / 0.6505 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01453/0.5227, allocations: 5.589 MB / 0.6559 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02732/0.5501, allocations: 12.46 MB / 0.6681 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.5512, allocations: 204 kB / 0.6683 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02368/0.5749, allocations: 9.147 MB / 0.6772 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0108/0.5857, allocations: 6.257 MB / 0.6833 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.005688/0.5914, allocations: 3.836 MB / 0.6871 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.5929, allocations: 224 kB / 0.6873 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0005897/0.5935, allocations: 63.73 kB / 0.6873 GB, free: 14.11 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.0256/0.6191, allocations: 16.58 MB / 0.7035 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.003766/0.6229, allocations: 1.777 MB / 0.7053 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.01386/0.6367, allocations: 8.576 MB / 0.7136 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.003681/0.6404, allocations: 1.291 MB / 0.7149 GB, free: 1.328 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.01353/0.6539, allocations: 6.985 MB / 0.7217 GB, free: 9.688 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.002692/0.6566, allocations: 1.224 MB / 0.7229 GB, free: 8.371 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.001276/0.6579, allocations: 0.6863 MB / 0.7236 GB, free: 7.625 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.002304/0.6602, allocations: 1.643 MB / 0.7252 GB, free: 5.895 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.00134/0.6616, allocations: 0.7477 MB / 0.7259 GB, free: 5.156 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.00416/0.6657, allocations: 3.009 MB / 0.7289 GB, free: 1.906 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.4489/1.115, allocations: 7.672 MB / 0.7364 GB, free: 74.19 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01083/1.125, allocations: 6.652 MB / 0.7429 GB, free: 74.19 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.007367/1.133, allocations: 3.092 MB / 0.7459 GB, free: 73.65 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.01319/1.146, allocations: 10.55 MB / 0.7562 GB, free: 73.6 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 0.0008458/1.147, allocations: 137.5 kB / 0.7563 GB, free: 73.53 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.005536/1.152, allocations: 2.02 MB / 0.7583 GB, free: 73.5 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.04814/1.201, allocations: 19.69 MB / 0.7775 GB, free: 72.26 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.003294/1.204, allocations: 2.246 MB / 0.7797 GB, free: 71.87 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 2.495e-06/1.204, allocations: 0 / 0.7797 GB, free: 71.87 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 0.0001084/1.204, allocations: 9.078 kB / 0.7797 GB, free: 71.86 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 0.003182/1.207, allocations: 2.358 MB / 0.782 GB, free: 71.18 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 7.114e-05/1.207, allocations: 19.94 kB / 0.782 GB, free: 71.18 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.01068/1.218, allocations: 5.834 MB / 0.7877 GB, free: 70.72 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.290255875792354] 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.2451102300547063 1.254653542 0.658499179 Calling exit ...