Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.PhaseSeperator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 106.6 kB / 18.68 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008709/0.008709, allocations: 195.3 kB / 21.93 MB, free: 5.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 250.6 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7577/0.7577, allocations: 94.59 MB / 400.4 MB, free: 15.83 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.PhaseSeperator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|accumulator.M|accumulator.U_med|boundaryFore1.rear.m_flow|boundaryRear.fore.m_flow|flowResistance2.rear.m_flow|receiver.M|receiver.U_med|receiver.m_flow_fore|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent|timeTable.nextEventScaled",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.PhaseSeperator") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.PhaseSeperator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|accumulator.M|accumulator.U_med|boundaryFore1.rear.m_flow|boundaryRear.fore.m_flow|flowResistance2.rear.m_flow|receiver.M|receiver.U_med|receiver.m_flow_fore|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent|timeTable.nextEventScaled",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.PhaseSeperator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 86.34 kB / 0.5464 GB, free: 42.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1047, allocations: 71.85 MB / 0.6166 GB, free: 8.566 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.PhaseSeperator): time 0.479/0.5837, allocations: 209.2 MB / 0.8209 GB, free: 2.078 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.1011/0.6847, allocations: 94.16 MB / 0.9129 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.6879, allocations: 87.5 kB / 0.913 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0075/0.6954, allocations: 2.901 MB / 0.9158 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02157/0.717, allocations: 7.939 MB / 0.9235 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02499/0.742, allocations: 9.241 MB / 0.9326 GB, free: 9.105 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008714/0.7507, allocations: 5.592 MB / 0.938 GB, free: 3.492 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.7525, allocations: 0.8447 MB / 0.9388 GB, free: 2.578 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02123/0.7737, allocations: 8.842 MB / 0.9475 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00411/0.7778, allocations: 2.443 MB / 0.9499 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009331/0.7788, allocations: 340 kB / 0.9502 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03108/0.8099, allocations: 12.64 MB / 0.9625 GB, free: 10.18 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.8113, allocations: 0.8053 MB / 0.9633 GB, free: 9.379 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.003801/0.8151, allocations: 2.166 MB / 0.9654 GB, free: 7.203 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.03014/0.8452, allocations: 12.38 MB / 0.9775 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.8452, allocations: 0 / 0.9775 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8452, allocations: 0 / 0.9775 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001546/0.8454, allocations: 4 kB / 0.9775 GB, free: 10.78 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 919 * Number of variables: 919 Notification: Performance of Generate backend data structure: time 0.01474/0.8601, allocations: 5.849 MB / 0.9832 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.8601, allocations: 8.031 kB / 0.9832 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/0.8652, allocations: 0.8679 MB / 0.9841 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/0.8698, allocations: 2.078 MB / 0.9861 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.8701, allocations: 271.2 kB / 0.9864 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006825/0.8708, allocations: 352 kB / 0.9867 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009423/0.8802, allocations: 4.091 MB / 0.9907 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.23e-05/0.8803, allocations: 7.875 kB / 0.9907 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003211/0.8806, allocations: 156 kB / 0.9909 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.706e-05/0.8807, allocations: 88 kB / 0.991 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008557/0.8892, allocations: 3.441 MB / 0.9943 GB, free: 9.328 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.9161, allocations: 23.48 MB / 1.017 GB, free: 15 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005622/0.9218, allocations: 1.967 MB / 1.019 GB, free: 13.03 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.9234, allocations: 0.839 MB / 1.02 GB, free: 12.19 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631/4.554, allocations: 1.357 GB / 2.377 GB, free: 122.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004039/4.558, allocations: 1.479 MB / 2.378 GB, free: 121.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=198): time 4.538e-06/4.558, allocations: 0 / 2.378 GB, free: 121.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=198): time 0.01154/4.57, allocations: 4.638 MB / 2.383 GB, free: 116.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/4.57, allocations: 99.11 kB / 2.383 GB, free: 116.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/4.572, allocations: 1.68 MB / 2.384 GB, free: 114.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/4.572, allocations: 65.7 kB / 2.385 GB, free: 114.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008027/4.573, allocations: 1.52 MB / 2.386 GB, free: 113.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004077/4.573, allocations: 0.6958 MB / 2.387 GB, free: 113.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005157/4.574, allocations: 447.5 kB / 2.387 GB, free: 112.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 3.389e-05/4.574, allocations: 305.1 kB / 2.387 GB, free: 112.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/4.575, allocations: 0.7147 MB / 2.388 GB, free: 111.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/4.576, allocations: 1.172 MB / 2.389 GB, free: 110.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/4.579, allocations: 2.062 MB / 2.391 GB, free: 108 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/4.579, allocations: 4 kB / 2.391 GB, free: 108 MB / 0.7794 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.004399/4.584, allocations: 2.519 MB / 2.394 GB, free: 105.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/4.584, allocations: 49.66 kB / 2.394 GB, free: 105.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/4.584, allocations: 12 kB / 2.394 GB, free: 105.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/4.584, allocations: 165.6 kB / 2.394 GB, free: 105.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/4.586, allocations: 487.3 kB / 2.394 GB, free: 104.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/4.589, allocations: 6.021 MB / 2.4 GB, free: 98.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/4.59, allocations: 216.9 kB / 2.401 GB, free: 98.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/4.591, allocations: 110.8 kB / 2.401 GB, free: 97.96 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 31 (accumulator.state_out_fore.phase,receiver.state_out_fore.phase,boundaryRear1.fore.state_forwards.phase,unidirectionalSensorAdapter7.state.phase,boundaryFore1.rear.state_rearwards.phase,unidirectionalSensorAdapter6.state.phase,unidirectionalSensorAdapter5.state.phase,unidirectionalSensorAdapter4.state.phase,boundaryFore.rear.state_rearwards.phase,unidirectionalSensorAdapter3.state.phase,unidirectionalSensorAdapter2.state.phase,unidirectionalSensorAdapter1.state.phase,boundaryRear.fore.state_forwards.phase,unidirectionalSensorAdapter.state.phase,accumulator.medium.phase,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,receiver.medium.phase,$whenCondition1,flowResistance2.fore.state_forwards.phase,flowResistance3.rear.state_rearwards.phase,flowResistance.rear.state_rearwards.phase,flowResistance1.fore.state_forwards.phase,flowResistance2.rear.state_rearwards.phase,flowResistance3.fore.state_forwards.phase,flowResistance.fore.state_forwards.phase,flowResistance1.rear.state_rearwards.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001051/4.592, allocations: 0.5771 MB / 2.401 GB, free: 97.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/4.592, allocations: 238.4 kB / 2.401 GB, free: 97.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009188/4.601, allocations: 8.403 MB / 2.41 GB, free: 88.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/4.601, allocations: 11.97 kB / 2.41 GB, free: 88.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/4.601, allocations: 3.984 kB / 2.41 GB, free: 88.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007282/4.602, allocations: 0.5065 MB / 2.41 GB, free: 88.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/4.602, allocations: 56.45 kB / 2.41 GB, free: 88.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/4.603, allocations: 75.94 kB / 2.41 GB, free: 88.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/4.604, allocations: 173.7 kB / 2.41 GB, free: 88.01 MB / 0.7794 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): accumulator.medium.phase = if accumulator.medium.h < $cse31.h or accumulator.medium.h > $cse32.h or accumulator.medium.p > 2.2064e7 then 1 else 2 2/2 (16): $cse33 = ThermofluidStream.Media.myMedia.Water.IF97_Utilities.waterBaseProp_ph(accumulator.medium.p, accumulator.medium.h, accumulator.medium.phase, 0) 3/18 (1): accumulator.medium.d = $cse33.rho 4/19 (1): accumulator.medium.u = accumulator.medium.h - accumulator.medium.p / accumulator.medium.d 5/20 (13): $cse31 = ThermofluidStream.Media.myMedia.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(accumulator.medium.p) 6/33 (13): $cse32 = ThermofluidStream.Media.myMedia.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(accumulator.medium.p) Variables: 1: $cse32.dpT:VARIABLE(protected = true ) type: Real unreplaceable 2: $cse32.vp:VARIABLE(protected = true ) type: Real unreplaceable 3: $cse32.d:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse32.cv:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse32.cp:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse32.h:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse32.pd:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse32.T:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse32.region3boundary:DISCRETE(protected = true ) type: Boolean unreplaceable 10: $cse32.vt:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse32.s:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse32.pt:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse32.R_s:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse31.cv:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse31.cp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse31.vt:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse31.d:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse31.pt:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse31.R_s:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse31.h:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse31.vp:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse31.pd:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse31.s:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse31.region3boundary:DISCRETE(protected = true ) type: Boolean unreplaceable 25: $cse31.dpT:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse31.T:VARIABLE(protected = true ) type: Real unreplaceable 27: accumulator.medium.p:VARIABLE(flow=false min = 611.657 max = 1e8 start = 5e6 unit = \"Pa\" nominal = 1e5 ) \"Absolute pressure of medium\" type: Real 28: $cse33.vt:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse33.pd:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse33.s:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse33.x:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse33.phase:DISCRETE(protected = true ) type: Integer unreplaceable 33: $cse33.cv:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse33.p:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse33.h:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse33.vp:VARIABLE(protected = true ) type: Real unreplaceable 37: accumulator.medium.h:VARIABLE(flow=false min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" nominal = 5e5 ) \"Specific enthalpy of medium\" type: Real 38: $cse33.T:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse33.region:DISCRETE(protected = true ) type: Integer unreplaceable 40: $cse33.pt:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse33.dpT:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse33.R_s:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse33.rho:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse33.cp:VARIABLE(protected = true ) type: Real unreplaceable 45: accumulator.medium.phase:DISCRETE(min = 0 max = 2 start = 1 fixed = false ) \"2 for two-phase, 1 for one-phase, 0 if not known\" type: Integer [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9806:5-9807:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009342/4.605, allocations: 0.6358 MB / 2.411 GB, free: 87.3 MB / 0.7794 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermofluidStream.Undirected.Boundaries.Tests.PhaseSeperator could not be translated " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 7.884338803007267] Failed to read output from testmodel.py, exit status != 0: 4.611912865948398 4.622077157 3.774288151 Calling exit ...