Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.001388/0.001388, 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.001511/0.001511, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.626/1.626, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2394/0.2394, allocations: 46.97 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.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.504e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.3923/0.3924, allocations: 46.77 MB / 0.543 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.4061, allocations: 7.006 MB / 0.5498 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.4081, allocations: 63.47 kB / 0.5499 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.4096, allocations: 0.5076 MB / 0.5504 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008851/0.4184, allocations: 3.256 MB / 0.5535 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005465/0.4239, allocations: 2.202 MB / 0.5557 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00513/0.429, allocations: 3.34 MB / 0.559 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.4307, allocations: 0.9641 MB / 0.5599 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007134/0.4378, allocations: 4.601 MB / 0.5644 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004587/0.4424, allocations: 2.681 MB / 0.567 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004073/0.4428, allocations: 112 kB / 0.5671 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006479/0.4493, allocations: 2.882 MB / 0.5699 GB, free: 6.613 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.003319/0.4526, allocations: 2.892 MB / 0.5728 GB, free: 3.695 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.001485/0.4541, allocations: 1.751 MB / 0.5745 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.4545, allocations: 124 kB / 0.5746 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0003218/0.4548, allocations: 51.8 kB / 0.5746 GB, free: 1.758 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 (195) * Number of variables: 209 (203) Notification: Performance of [SIM] Bindings: time 0.007125/0.4619, allocations: 6.385 MB / 0.5809 GB, free: 11.16 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001131/0.463, allocations: 0.8848 MB / 0.5817 GB, free: 10.27 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.007782/0.4708, allocations: 6.519 MB / 0.5881 GB, free: 3.707 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002033/0.4729, allocations: 0.9505 MB / 0.589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of [SIM] Alias: time 0.007544/0.4804, allocations: 4.794 MB / 0.5937 GB, free: 13.45 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00148/0.4819, allocations: 0.8972 MB / 0.5946 GB, free: 12.52 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000673/0.4826, allocations: 0.5232 MB / 0.5951 GB, free: 11.96 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.001153/0.4837, allocations: 1.042 MB / 0.5961 GB, free: 10.87 MB / 430.1 MB Notification: Performance of [SIM] Events: time 0.001454/0.4852, allocations: 0.9666 MB / 0.5971 GB, free: 9.93 MB / 430.1 MB Notification: Performance of [SIM] Partitioning: time 0.002849/0.488, allocations: 2.322 MB / 0.5993 GB, free: 7.355 MB / 430.1 MB Notification: Performance of [SIM] Causalize: time 0.006673/0.4947, allocations: 4.217 MB / 0.6034 GB, free: 2.863 MB / 430.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006086/0.5008, allocations: 5.374 MB / 0.6087 GB, free: 13.48 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.004616/0.5054, allocations: 2.418 MB / 0.611 GB, free: 10.88 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.009254/0.5146, allocations: 7.451 MB / 0.6183 GB, free: 3.402 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 0.0003727/0.515, allocations: 100.8 kB / 0.6184 GB, free: 3.277 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 0.002536/0.5176, allocations: 1.487 MB / 0.6199 GB, free: 1.77 MB / 446.1 MB Notification: Performance of [INI] Causalize: time 0.01583/0.5334, allocations: 10.1 MB / 0.6297 GB, free: 7.344 MB / 462.1 MB Notification: Performance of [INI] Tearing: time 0.001413/0.5348, allocations: 0.9912 MB / 0.6307 GB, free: 6.344 MB / 462.1 MB Notification: Performance of [SIM] Initialization: time 2.003e-06/0.5348, allocations: 4 kB / 0.6307 GB, free: 6.34 MB / 462.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.046e-05/0.5349, allocations: 9.25 kB / 0.6307 GB, free: 6.332 MB / 462.1 MB Notification: Performance of [SIM] Tearing: time 0.0009723/0.5358, allocations: 0.6537 MB / 0.6314 GB, free: 5.707 MB / 462.1 MB Notification: Performance of [SIM] Categorize: time 7.225e-05/0.5359, allocations: 19.88 kB / 0.6314 GB, free: 5.688 MB / 462.1 MB Notification: Performance of [SIM] Solve: time 0.00804/0.5439, allocations: 4.785 MB / 0.636 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of [SIM] Jacobian: time 0.003096/0.547, allocations: 1.964 MB / 0.638 GB, free: 14.92 MB / 478.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 15 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 16 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 71 (71) {$SEV_64, $SEV_63, $SEV_62, $SEV_61, $SEV_60, $SEV_59, $SEV_58, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $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, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 168 (scalar:168, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 260 (scalar:255, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 266 (scalar:261, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0002641/0.5473, allocations: 151.3 kB / 0.6381 GB, free: 14.78 MB / 478.1 MB Notification: Performance of SimCode: time 0.01886/0.5662, allocations: 7.92 MB / 0.6458 GB, free: 6.734 MB / 478.1 MB [CodegenCFunctions.tpl:6891:22-6891:22:writable] Error: Template error: We only support function pointer calls where the pointer is a local variable (not inside any record). Got: _omcQ_24fDER0__omcQ_24fDER0_f. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.6678547491319478] Failed to read output from testmodel.py, exit status != 0: ['time', 'SourceP1.ports[1].m_flow', 'SourceP1.ports[1].p', 'SourceP1.ports[1].h_outflow', 'SourceP1.ports[2].m_flow', 'SourceP1.ports[2].p', 'SourceP1.ports[2].h_outflow', 'SourceP2.ports[1].m_flow', 'SourceP2.ports[1].p', 'SourceP2.ports[1].h_outflow', 'SourceP2.ports[2].m_flow', 'SourceP2.ports[2].p', 'SourceP2.ports[2].h_outflow', 'SinkP1.ports[1].m_flow', 'SinkP1.ports[1].p', 'SinkP1.ports[1].h_outflow', 'V1.port_b.m_flow', 'V1.port_b.p', 'V1.port_b.h_outflow', 'V1.minLimiter.y', 'V2.port_b.m_flow', 'V2.port_b.p', 'V2.port_b.h_outflow', 'V2.minLimiter.y', 'V3.port_b.m_flow', 'V3.port_b.p', 'V3.port_b.h_outflow', 'V3.minLimiter.y', 'V4.port_b.m_flow', 'V4.port_b.p', 'V4.port_b.h_outflow', 'V4.minLimiter.y', 'V5.port_b.m_flow', 'V5.port_b.p', 'V5.port_b.h_outflow', 'V5.minLimiter.y', 'SinkP2.ports[1].m_flow', 'SinkP2.ports[1].p', 'SinkP2.ports[1].h_outflow', 'SinkP3.ports[1].m_flow', 'SinkP3.ports[1].p', 'SinkP3.ports[1].h_outflow', 'CloseLoad.y', 'OpenRelief.y', 'CloseValves.y'] 0.6458689980208874 0.660444398 0.202307006 Calling exit ...