Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.001328/0.001328, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001456/0.001456, allocations: 211 kB / 24.55 MB, free: 3.824 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.464/1.464, 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.2411/0.2411, allocations: 46.97 MB / 361.7 MB, free: 4.086 MB / 286.1 MB " [Timeout remaining time 180] 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.TestValveCoefficients,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.398e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.2877/0.2877, allocations: 75.29 MB / 0.5709 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03727/0.3249, allocations: 25.72 MB / 0.596 GB, free: 12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.327, allocations: 71.25 kB / 0.5961 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.3299, allocations: 0.8847 MB / 0.597 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01519/0.3451, allocations: 5.127 MB / 0.602 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01668/0.3618, allocations: 5.611 MB / 0.6075 GB, free: 324 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007471/0.3692, allocations: 4.926 MB / 0.6123 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.372, allocations: 1.254 MB / 0.6135 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004593/0.3766, allocations: 2.103 MB / 0.6156 GB, free: 8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002596/0.3792, allocations: 1.144 MB / 0.6167 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.3796, allocations: 136 kB / 0.6168 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01638/0.396, allocations: 7.601 MB / 0.6242 GB, free: 15.11 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.004453/0.4004, allocations: 3.5 MB / 0.6276 GB, free: 11.57 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.002337/0.4027, allocations: 2.179 MB / 0.6298 GB, free: 9.371 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.4033, allocations: 179.9 kB / 0.6299 GB, free: 9.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0003851/0.4036, allocations: 63.77 kB / 0.63 GB, free: 9.133 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: 301 (269) * Number of variables: 301 (301) Notification: Performance of [SIM] Bindings: time 0.009785/0.4134, allocations: 8.691 MB / 0.6385 GB, free: 144 kB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001027/0.4144, allocations: 0.8583 MB / 0.6393 GB, free: 15.27 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.00989/0.4243, allocations: 8.327 MB / 0.6475 GB, free: 6.871 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00156/0.4259, allocations: 0.8115 MB / 0.6483 GB, free: 5.957 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.008138/0.434, allocations: 5.53 MB / 0.6537 GB, free: 15.88 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001312/0.4353, allocations: 0.7681 MB / 0.6544 GB, free: 15.07 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000708/0.4361, allocations: 0.5311 MB / 0.6549 GB, free: 14.5 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.00136/0.4374, allocations: 1.257 MB / 0.6561 GB, free: 13.18 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.00155/0.439, allocations: 1.098 MB / 0.6572 GB, free: 12.05 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.003468/0.4424, allocations: 2.825 MB / 0.66 GB, free: 8.844 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.007523/0.45, allocations: 5.334 MB / 0.6652 GB, free: 3.125 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006487/0.4564, allocations: 6.116 MB / 0.6712 GB, free: 13 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.004224/0.4607, allocations: 2.32 MB / 0.6734 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.007831/0.4685, allocations: 7.493 MB / 0.6807 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.0003575/0.4689, allocations: 111.8 kB / 0.6809 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.0025/0.4714, allocations: 1.504 MB / 0.6823 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.01921/0.4906, allocations: 12.56 MB / 0.6946 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002751/0.4908, allocations: 379.9 kB / 0.6949 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 1.693e-06/0.4908, allocations: 0 / 0.6949 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of [SIM] DAE-Mode: time 0.002877/0.4937, allocations: 1.961 MB / 0.6969 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 2.983e-05/0.4937, allocations: 17.94 kB / 0.6969 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.0001877/0.4939, allocations: 263.8 kB / 0.6971 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 8.251e-05/0.494, allocations: 19.81 kB / 0.6971 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.01225/0.5063, allocations: 7.555 MB / 0.7045 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.006141/0.5124, allocations: 7.333 MB / 0.7117 GB, free: 1.395 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 20 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 28 * 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: ................. 88 (88) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, SourceP2.medium.state.phase, SourceP2.medium.phase, V2.state_a.phase, V2.state_b.phase, SinkP2.medium.state.phase, SinkP2.medium.phase, SourceP3.medium.state.phase, SourceP3.medium.phase, V3.state_a.phase, V3.state_b.phase, SinkP3.medium.state.phase, SinkP3.medium.phase, SourceP4.medium.state.phase, SourceP4.medium.phase, V4.state_a.phase, V4.state_b.phase, SinkP4.medium.state.phase, SinkP4.medium.phase, $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} * 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: ........... 272 (scalar:272, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 368 (scalar:360, array:8, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 368 (scalar:360, array:8, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.000361/0.5128, allocations: 190.9 kB / 0.7119 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of SimCode: time 0.03605/0.5488, allocations: 16.85 MB / 0.7283 GB, free: 156 kB / 0.545 GB Notification: Performance of Templates: time 0.4002/0.949, allocations: 67.2 MB / 0.7939 GB, free: 62.58 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.090234080969822] 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', 'V1.port_b.m_flow', 'V1.port_b.p', 'V1.port_b.h_outflow', 'V1.minLimiter.y', 'SinkP1.ports[1].m_flow', 'SinkP1.ports[1].p', 'SinkP1.ports[1].h_outflow', 'Opening.y', 'SourceP2.ports[1].m_flow', 'SourceP2.ports[1].p', 'SourceP2.ports[1].h_outflow', 'V2.port_b.m_flow', 'V2.port_b.p', 'V2.port_b.h_outflow', 'V2.minLimiter.y', 'SinkP2.ports[1].m_flow', 'SinkP2.ports[1].p', 'SinkP2.ports[1].h_outflow', 'SourceP3.ports[1].m_flow', 'SourceP3.ports[1].p', 'SourceP3.ports[1].h_outflow', 'V3.port_b.m_flow', 'V3.port_b.p', 'V3.port_b.h_outflow', 'V3.minLimiter.y', 'SinkP3.ports[1].m_flow', 'SinkP3.ports[1].p', 'SinkP3.ports[1].h_outflow', 'SourceP4.ports[1].m_flow', 'SourceP4.ports[1].p', 'SourceP4.ports[1].h_outflow', 'V4.port_b.m_flow', 'V4.port_b.p', 'V4.port_b.h_outflow', 'V4.minLimiter.y', 'SinkP4.ports[1].m_flow', 'SinkP4.ports[1].p', 'SinkP4.ports[1].h_outflow'] 0.9572079440113157 0.966388179 0.5601773569999999 Calling exit ...