Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.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.001694/0.001694, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001783/0.001783, allocations: 214.9 kB / 23.07 MB, free: 4.844 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.529/1.529, allocations: 230.7 MB / 256.9 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8752/0.8752, allocations: 100.9 MB / 414.2 MB, free: 2.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.45e-05, allocations: 2.281 kB / 0.5654 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.08467/0.08469, allocations: 74.71 MB / 0.6383 GB, free: 5.773 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.09478, allocations: 4.266 MB / 0.6425 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.09796, allocations: 154.7 kB / 0.6426 GB, free: 1.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.1009, allocations: 0.7911 MB / 0.6434 GB, free: 0.543 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.1135, allocations: 3.498 MB / 0.6468 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.1235, allocations: 3.656 MB / 0.6504 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006722/0.1302, allocations: 4.102 MB / 0.6544 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.1314, allocations: 334 kB / 0.6547 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01681/0.1482, allocations: 8.614 MB / 0.6631 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.1506, allocations: 1.088 MB / 0.6642 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005412/0.1511, allocations: 140 kB / 0.6643 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00805/0.1592, allocations: 3.41 MB / 0.6677 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.005475/0.1646, allocations: 4.493 MB / 0.672 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.003977/0.1686, allocations: 3.151 MB / 0.6751 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.1696, allocations: 192 kB / 0.6753 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0008572/0.1705, allocations: 250.9 kB / 0.6755 GB, free: 15.45 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: 392 (362) * Number of variables: 392 (392) Notification: Performance of [SIM] Bindings: time 0.01292/0.1834, allocations: 10.22 MB / 0.6855 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.001607/0.185, allocations: 1.096 MB / 0.6866 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 0.01068/0.1957, allocations: 6.835 MB / 0.6933 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.002107/0.1978, allocations: 0.8937 MB / 0.6941 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.01044/0.2082, allocations: 6.946 MB / 0.7009 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.001522/0.2098, allocations: 0.81 MB / 0.7017 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 0.0005479/0.2103, allocations: 444 kB / 0.7021 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.001372/0.2117, allocations: 1.196 MB / 0.7033 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.0009967/0.2127, allocations: 0.6721 MB / 0.704 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.002598/0.2153, allocations: 2.139 MB / 0.7061 GB, free: 14.45 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.01666/0.2319, allocations: 10.15 MB / 0.716 GB, free: 4.027 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006661/0.2386, allocations: 5.659 MB / 0.7215 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of [INI] Simplify: time 0.007193/0.2458, allocations: 2.845 MB / 0.7243 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of [INI] Inline: time 0.01221/0.258, allocations: 8.374 MB / 0.7325 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of [INI] Partitioning: time 0.0006714/0.2587, allocations: 142.3 kB / 0.7326 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of [INI] Cleanup: time 0.002163/0.2608, allocations: 1.21 MB / 0.7338 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of [INI] Causalize: time 0.01375/0.2746, allocations: 7.608 MB / 0.7412 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of [INI] Tearing: time 0.0004496/0.275, allocations: 375.6 kB / 0.7416 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of [SIM] Initialization: time 1.683e-06/0.275, allocations: 0 / 0.7416 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of [SIM] DAE-Mode: time 0.004002/0.279, allocations: 2.467 MB / 0.744 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of [SIM] Remove Dummies: time 3.45e-05/0.2791, allocations: 2.578 kB / 0.744 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of [SIM] Tearing: time 0.0004377/0.2795, allocations: 455.8 kB / 0.7444 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of [SIM] Categorize: time 3.517e-05/0.2795, allocations: 12 kB / 0.7444 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of [SIM] Solve: time 0.4009/0.6804, allocations: 8.896 MB / 0.7531 GB, free: 80.05 MB / 0.5762 GB Notification: Performance of [SIM] Jacobian: time 0.007817/0.6882, allocations: 6.526 MB / 0.7595 GB, free: 76.51 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 14 (14) {conductionElement.h_rear_out, conductionElement.m_flow, conductionElement1.h_rear_out, conductionElement1.m_flow, conductionElement2.h_rear_out, conductionElement2.deltaE_system, conductionElement2.m_flow, conductionElement3.h_rear_out, conductionElement3.m_flow, conductionElement4.h_rear_out, conductionElement4.deltaE_system, conductionElement4.m_flow, conductionElement5.h_rear_out, conductionElement5.m_flow} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 67 (67) {$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_6, $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: ........... 320 (scalar:320, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 7 (linear: 7, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 431 (scalar:431, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 7 (linear: 7, nonlinear:0) Notification: Performance of backend: time 0.0002345/0.6885, allocations: 157.4 kB / 0.7596 GB, free: 76.48 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02755/0.716, allocations: 11.78 MB / 0.7711 GB, free: 73.23 MB / 0.5762 GB [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: 4.441239223990124] Failed to read output from testmodel.py, exit status != 0: 0.7966515989974141 0.8056371920000001 0.6324733690000001 Calling exit ...