Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.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.001341/0.001341, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002287/0.002287, allocations: 211.5 kB / 24.49 MB, free: 3.961 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.658/1.658, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2787/0.2787, allocations: 46.96 MB / 361.6 MB, free: 4.062 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.SeriesPipes2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.06e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2): time 0.3553/0.3554, allocations: 60.24 MB / 0.5561 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04789/0.4032, allocations: 26.7 MB / 0.5822 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.406, allocations: 87.31 kB / 0.5823 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003673/0.4096, allocations: 0.7844 MB / 0.583 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02602/0.4357, allocations: 6.654 MB / 0.5895 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02453/0.4602, allocations: 7.421 MB / 0.5968 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01559/0.4758, allocations: 10.04 MB / 0.6066 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006994/0.4828, allocations: 1.956 MB / 0.6085 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009991/0.4928, allocations: 3.945 MB / 0.6123 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01862/0.5114, allocations: 8.334 MB / 0.6205 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007041/0.5121, allocations: 144 kB / 0.6206 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02197/0.5341, allocations: 8.713 MB / 0.6291 GB, free: 10.04 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.007048/0.5411, allocations: 4.299 MB / 0.6333 GB, free: 5.711 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.003278/0.5444, allocations: 2.655 MB / 0.6359 GB, free: 3.031 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006086/0.545, allocations: 152 kB / 0.6361 GB, free: 2.883 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0004292/0.5454, allocations: 51.78 kB / 0.6361 GB, free: 2.832 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: 322 (232) * Number of variables: 322 (275) Notification: Performance of [SIM] Bindings: time 0.01938/0.5648, allocations: 11.35 MB / 0.6472 GB, free: 7.191 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002513/0.5673, allocations: 1.26 MB / 0.6484 GB, free: 5.871 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.008515/0.5758, allocations: 5.7 MB / 0.654 GB, free: 80 kB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001753/0.5776, allocations: 0.8905 MB / 0.6549 GB, free: 15.08 MB / 494.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.007626/0.5852, allocations: 4.681 MB / 0.6594 GB, free: 9.906 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001387/0.5866, allocations: 0.796 MB / 0.6602 GB, free: 9.035 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0007033/0.5873, allocations: 440 kB / 0.6606 GB, free: 8.566 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.001375/0.5887, allocations: 1.036 MB / 0.6616 GB, free: 7.465 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.0008689/0.5895, allocations: 0.4998 MB / 0.6621 GB, free: 6.961 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.002851/0.5924, allocations: 2.032 MB / 0.6641 GB, free: 4.734 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.008504/0.6009, allocations: 5.246 MB / 0.6692 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005647/0.6065, allocations: 4.418 MB / 0.6735 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.00464/0.6112, allocations: 2.181 MB / 0.6757 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.008462/0.6196, allocations: 6.968 MB / 0.6825 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.0003692/0.62, allocations: 105.8 kB / 0.6826 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.001994/0.622, allocations: 1.324 MB / 0.6839 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of [INI] Causalize: time 0.02603/0.648, allocations: 13.49 MB / 0.6971 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002627/0.6483, allocations: 316 kB / 0.6974 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 1.643e-06/0.6483, allocations: 0 / 0.6974 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 5.228e-05/0.6484, allocations: 6 kB / 0.6974 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.001208/0.6496, allocations: 0.7484 MB / 0.6981 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 5.408e-05/0.6496, allocations: 11.94 kB / 0.6981 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.007034/0.6567, allocations: 3.78 MB / 0.7018 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.02579/0.6824, allocations: 21.76 MB / 0.723 GB, free: 6.289 MB / 0.545 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 12 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 11 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (5) {pipe1.Us, pipe1.ms, pipe3.Us, pipe3.ms, valveIncompressible1.filter.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 50 (48) {source.medium.state.phase, source.medium.phase, pipe1.mediums.phase, pipe1.state_a.phase, pipe1.state_b.phase, pipe1.statesFM.phase, pipe1.heatTransfer.states.phase, valveIncompressible1.state_a.phase, valveIncompressible1.state_b.phase, sink.medium.state.phase, sink.medium.phase, pipe3.mediums.phase, pipe3.state_a.phase, pipe3.state_b.phase, pipe3.statesFM.phase, pipe3.heatTransfer.states.phase, valveOpening1.a, valveOpening1.b, valveOpening1.last, valveOpening1.nextEvent, valveOpening1.nextEventScaled, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.EXPLICIT, size = 5) ------------------------------------------------------------------- ### Variables: [DISC] (2) Integer[2] pipe1.statesFM.phase (min = {0 for $f2 in 1:2}, max = {2 for $f1 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.h (start = {1e5 for $f4 in 1:2}, min = {-1e10 for $f6 in 1:2}, max = {1e10 for $f5 in 1:2}, nominal = {5e5 for $f3 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.d (start = {150.0 for $f10 in 1:2}, min = {0.0 for $f12 in 1:2}, max = {1e5 for $f11 in 1:2}, nominal = {500.0 for $f9 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.T (start = {500.0 for $f17 in 1:2}, min = {273.15 for $f19 in 1:2}, max = {2273.15 for $f18 in 1:2}, nominal = {500.0 for $f16 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.p (start = {5e6 for $f24 in 1:2}, min = {611.657 for $f26 in 1:2}, max = {1e8 for $f25 in 1:2}, nominal = {1e6 for $f23 in 1:2}) slice: {1} ### Equation: [ARRY] (5) pipe1.statesFM[2:2] = pipe1.heatTransfer.states ($RES_SIM_119) Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.EXPLICIT, size = 5) ------------------------------------------------------------------- ### Variables: [DISC] (2) Integer[2] pipe3.statesFM.phase (min = {0 for $f2 in 1:2}, max = {2 for $f1 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.h (start = {1e5 for $f4 in 1:2}, min = {-1e10 for $f6 in 1:2}, max = {1e10 for $f5 in 1:2}, nominal = {5e5 for $f3 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.d (start = {150.0 for $f10 in 1:2}, min = {0.0 for $f12 in 1:2}, max = {1e5 for $f11 in 1:2}, nominal = {500.0 for $f9 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.T (start = {500.0 for $f17 in 1:2}, min = {273.15 for $f19 in 1:2}, max = {2273.15 for $f18 in 1:2}, nominal = {500.0 for $f16 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.p (start = {5e6 for $f24 in 1:2}, min = {611.657 for $f26 in 1:2}, max = {1e8 for $f25 in 1:2}, nominal = {1e6 for $f23 in 1:2}) slice: {1} ### Equation: [ARRY] (5) pipe3.statesFM[2:2] = pipe3.heatTransfer.states ($RES_SIM_23) Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 216 (scalar:188, array:28, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 6 (resizable: 6, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.EXPLICIT, size = 5) ------------------------------------------------------------------- ### Variables: [DISC] (2) Integer[2] pipe1.statesFM.phase (min = {0 for $f2 in 1:2}, max = {2 for $f1 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.h (start = {1e5 for $f4 in 1:2}, min = {-1e10 for $f6 in 1:2}, max = {1e10 for $f5 in 1:2}, nominal = {5e5 for $f3 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.d (start = {150.0 for $f10 in 1:2}, min = {0.0 for $f12 in 1:2}, max = {1e5 for $f11 in 1:2}, nominal = {500.0 for $f9 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.T (start = {500.0 for $f17 in 1:2}, min = {273.15 for $f19 in 1:2}, max = {2273.15 for $f18 in 1:2}, nominal = {500.0 for $f16 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.p (start = {5e6 for $f24 in 1:2}, min = {611.657 for $f26 in 1:2}, max = {1e8 for $f25 in 1:2}, nominal = {1e6 for $f23 in 1:2}) slice: {1} ### Equation: [ARRY] (5) pipe1.statesFM[2:2] = pipe1.heatTransfer.states ($RES_SIM_119) Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.EXPLICIT, size = 5) ------------------------------------------------------------------- ### Variables: [DISC] (2) Integer[2] pipe3.statesFM.phase (min = {0 for $f2 in 1:2}, max = {2 for $f1 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.h (start = {1e5 for $f4 in 1:2}, min = {-1e10 for $f6 in 1:2}, max = {1e10 for $f5 in 1:2}, nominal = {5e5 for $f3 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.d (start = {150.0 for $f10 in 1:2}, min = {0.0 for $f12 in 1:2}, max = {1e5 for $f11 in 1:2}, nominal = {500.0 for $f9 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.T (start = {500.0 for $f17 in 1:2}, min = {273.15 for $f19 in 1:2}, max = {2273.15 for $f18 in 1:2}, nominal = {500.0 for $f16 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.p (start = {5e6 for $f24 in 1:2}, min = {611.657 for $f26 in 1:2}, max = {1e8 for $f25 in 1:2}, nominal = {1e6 for $f23 in 1:2}) slice: {1} ### Equation: [ARRY] (5) pipe3.statesFM[2:2] = pipe3.heatTransfer.states ($RES_SIM_23) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 300 (scalar:257, array:42, record:1) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 5 (resizable: 4, generic: 0, entwined:1) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.EXPLICIT, size = 5) ------------------------------------------------------------------- ### Variables: [DISC] (2) Integer[2] pipe1.statesFM.phase (min = {0 for $f2 in 1:2}, max = {2 for $f1 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.h (start = {1e5 for $f4 in 1:2}, min = {-1e10 for $f6 in 1:2}, max = {1e10 for $f5 in 1:2}, nominal = {5e5 for $f3 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.d (start = {150.0 for $f10 in 1:2}, min = {0.0 for $f12 in 1:2}, max = {1e5 for $f11 in 1:2}, nominal = {500.0 for $f9 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.T (start = {500.0 for $f17 in 1:2}, min = {273.15 for $f19 in 1:2}, max = {2273.15 for $f18 in 1:2}, nominal = {500.0 for $f16 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe1.statesFM.p (start = {5e6 for $f24 in 1:2}, min = {611.657 for $f26 in 1:2}, max = {1e8 for $f25 in 1:2}, nominal = {1e6 for $f23 in 1:2}) slice: {1} ### Equation: [ARRY] (5) pipe1.statesFM[2:2] = pipe1.heatTransfer.states ($RES_SIM_119) Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.EXPLICIT, size = 5) ------------------------------------------------------------------- ### Variables: [DISC] (2) Integer[2] pipe3.statesFM.phase (min = {0 for $f2 in 1:2}, max = {2 for $f1 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.h (start = {1e5 for $f4 in 1:2}, min = {-1e10 for $f6 in 1:2}, max = {1e10 for $f5 in 1:2}, nominal = {5e5 for $f3 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.d (start = {150.0 for $f10 in 1:2}, min = {0.0 for $f12 in 1:2}, max = {1e5 for $f11 in 1:2}, nominal = {500.0 for $f9 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.T (start = {500.0 for $f17 in 1:2}, min = {273.15 for $f19 in 1:2}, max = {2273.15 for $f18 in 1:2}, nominal = {500.0 for $f16 in 1:2}) slice: {1} [ALGB] (2) Real[2] pipe3.statesFM.p (start = {5e6 for $f24 in 1:2}, min = {611.657 for $f26 in 1:2}, max = {1e8 for $f25 in 1:2}, nominal = {1e6 for $f23 in 1:2}) slice: {1} ### Equation: [ARRY] (5) pipe3.statesFM[2:2] = pipe3.heatTransfer.states ($RES_SIM_23) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 300 (scalar:257, array:42, record:1) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 5 (resizable: 4, generic: 0, entwined:1) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0006103/0.6831, allocations: 380.7 kB / 0.7234 GB, free: 5.934 MB / 0.545 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFScalarize.mo:210:5-210:103:writable] Error: Internal error NFScalarize.scalarizeBackendVariable failed for: final pipe1.flowModel.Medium.ThermodynamicState[2] pipe1.flowModel.states = pipe1.statesFM " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.169336480554193] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipe1.mediums[1].h', 'pipe1.mediums[1].p', 'pipe3.mediums[1].h', 'pipe3.mediums[1].p', 'valveIncompressible1.filter.x[1]', 'valveIncompressible1.filter.x[2]', 'valveOpening1.a', 'valveOpening1.b', 'valveOpening1.last', 'valveOpening1.nextEvent'] 1.040038618259132 1.054590655 0.5060653079999999 Calling exit ...