Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundaryRear.fore.m_flow|boundaryRear1.fore.m_flow|heatportVolume1.M|heatportVolume1.U_med|heatportVolume10.M|heatportVolume10.U_med|heatportVolume11.M|heatportVolume11.U_med|heatportVolume11.m_flow_fore|heatportVolume12.M|heatportVolume12.U_med|heatportVolume12.m_flow_fore|heatportVolume13.M|heatportVolume13.U_med|heatportVolume14.M|heatportVolume14.U_med|heatportVolume14.m_flow_fore|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|heatportVolume3.m_flow_fore|heatportVolume4.M|heatportVolume4.U_med|heatportVolume5.M|heatportVolume5.U_med|heatportVolume5.m_flow_fore|heatportVolume6.M|heatportVolume6.U_med|heatportVolume7.M|heatportVolume7.U_med|heatportVolume7.m_flow_fore|heatportVolume8.M|heatportVolume8.U_med|heatportVolume8.m_flow_fore|heatportVolume9.M|heatportVolume9.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundaryRear.fore.m_flow|boundaryRear1.fore.m_flow|heatportVolume1.M|heatportVolume1.U_med|heatportVolume10.M|heatportVolume10.U_med|heatportVolume11.M|heatportVolume11.U_med|heatportVolume11.m_flow_fore|heatportVolume12.M|heatportVolume12.U_med|heatportVolume12.m_flow_fore|heatportVolume13.M|heatportVolume13.U_med|heatportVolume14.M|heatportVolume14.U_med|heatportVolume14.m_flow_fore|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|heatportVolume3.m_flow_fore|heatportVolume4.M|heatportVolume4.U_med|heatportVolume5.M|heatportVolume5.U_med|heatportVolume5.m_flow_fore|heatportVolume6.M|heatportVolume6.U_med|heatportVolume7.M|heatportVolume7.U_med|heatportVolume7.m_flow_fore|heatportVolume8.M|heatportVolume8.U_med|heatportVolume8.m_flow_fore|heatportVolume9.M|heatportVolume9.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008311/0.0008312, allocations: 171.5 kB / 16.11 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205 MB / 221.9 MB, free: 9.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007266/0.0007264, allocations: 95.91 kB / 269.9 MB, free: 8.645 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5932/0.5932, allocations: 90.51 MB / 408.3 MB, free: 3.93 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 8.219 kB / 484.9 MB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2329, allocations: 65.81 MB / 0.5378 GB, free: 35 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.VolumesDirectCoupling): time 0.3274/0.5604, allocations: 158.4 MB / 0.6925 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03825/0.5987, allocations: 43.46 MB / 0.7349 GB, free: 128 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.6025, allocations: 54.97 kB / 0.735 GB, free: 128 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.004575/0.6071, allocations: 1.932 MB / 0.7369 GB, free: 80 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.008907/0.6161, allocations: 3.976 MB / 0.7407 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.02753/0.6436, allocations: 10.81 MB / 0.7513 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.009927/0.6535, allocations: 10.3 MB / 0.7614 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.6547, allocations: 0.7275 MB / 0.7621 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06278/0.7175, allocations: 35.32 MB / 0.7966 GB, free: 184 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1531/0.8706, allocations: 87.88 MB / 0.8824 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.8719, allocations: 160 kB / 0.8825 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01885/0.8908, allocations: 8.928 MB / 0.8913 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.8921, allocations: 0.7189 MB / 0.892 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003114/0.8952, allocations: 2.173 MB / 0.8941 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01958/0.9148, allocations: 10.21 MB / 0.904 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9148, allocations: 0 / 0.904 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9148, allocations: 0 / 0.904 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.411e-05/0.9149, allocations: 0 / 0.904 GB, free: 2.664 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1074 * Number of variables: 1074 Notification: Performance of Generate backend data structure: time 0.008907/0.9238, allocations: 4.653 MB / 0.9086 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9239, allocations: 8.031 kB / 0.9086 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009054/0.9329, allocations: 1.432 MB / 0.91 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.9356, allocations: 1.813 MB / 0.9118 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.9359, allocations: 340.6 kB / 0.9121 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004969/0.9364, allocations: 439.6 kB / 0.9125 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.9563, allocations: 6.232 MB / 0.9186 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.728e-05/0.9564, allocations: 19.81 kB / 0.9186 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/0.9568, allocations: 184 kB / 0.9188 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.102e-05/0.9569, allocations: 120 kB / 0.9189 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2028/1.16, allocations: 4.705 MB / 0.9235 GB, free: 283.7 MB / 0.6511 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.02217/1.182, allocations: 30.61 MB / 0.9534 GB, free: 257.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009471/1.191, allocations: 3.677 MB / 0.957 GB, free: 255.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/1.194, allocations: 1.465 MB / 0.9584 GB, free: 254.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/1.196, allocations: 1.047 MB / 0.9594 GB, free: 253.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/1.196, allocations: 80.33 kB / 0.9595 GB, free: 253.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=317): time 5.42e-06/1.196, allocations: 0 / 0.9595 GB, free: 253.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=332): time 0.03945/1.235, allocations: 16.93 MB / 0.976 GB, free: 242.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/1.235, allocations: 325.4 kB / 0.9764 GB, free: 242.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/1.237, allocations: 1.665 MB / 0.978 GB, free: 241 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004159/1.237, allocations: 93.66 kB / 0.9781 GB, free: 240.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006056/1.238, allocations: 1.672 MB / 0.9797 GB, free: 239.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/1.238, allocations: 1.141 MB / 0.9808 GB, free: 238.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/1.239, allocations: 83.94 kB / 0.9809 GB, free: 238 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.239, allocations: 467 kB / 0.9813 GB, free: 237.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/1.241, allocations: 1.39 MB / 0.9827 GB, free: 236.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/1.244, allocations: 2.623 MB / 0.9853 GB, free: 233.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005987/1.25, allocations: 4.203 MB / 0.9894 GB, free: 228.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/1.25, allocations: 12 kB / 0.9894 GB, free: 228.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01062/1.261, allocations: 5.482 MB / 0.9947 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/1.261, allocations: 21.41 kB / 0.9948 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/1.261, allocations: 40 kB / 0.9948 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004117/1.265, allocations: 1.243 MB / 0.996 GB, free: 221.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/1.268, allocations: 0.8498 MB / 0.9968 GB, free: 220.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/1.279, allocations: 22.97 MB / 1.019 GB, free: 196.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/1.283, allocations: 0.545 MB / 1.02 GB, free: 195.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/1.283, allocations: 219.9 kB / 1.02 GB, free: 195.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 34 (heatportVolume1.rear.state_forwards.phase,heatportVolume1.medium.phase,heatportVolume7.fore.state_rearwards.phase,heatportVolume7.medium.phase,heatportVolume8.medium.phase,heatportVolume9.medium.phase,heatportVolume10.rear.state_forwards.phase,heatportVolume10.medium.phase,heatportVolume11.fore.state_rearwards.phase,heatportVolume11.medium.phase,heatportVolume12.medium.phase,heatportVolume13.medium.phase,heatportVolume14.fore.state_rearwards.phase,heatportVolume14.medium.phase,heatportVolume5.medium.phase,heatportVolume6.medium.phase,heatportVolume3.medium.phase,heatportVolume4.medium.phase,heatportVolume2.fore.state_rearwards.phase,heatportVolume2.medium.phase,heatportVolume14.state_in_rear.phase,heatportVolume13.state_in_fore.phase,heatportVolume12.state_in_rear.phase,heatportVolume11.state_in_rear.phase,heatportVolume10.state_in_fore.phase,heatportVolume9.state_in_fore.phase,heatportVolume8.state_in_rear.phase,heatportVolume7.state_in_rear.phase,heatportVolume6.state_in_fore.phase,heatportVolume5.state_in_rear.phase,heatportVolume4.state_in_fore.phase,heatportVolume3.state_in_rear.phase,heatportVolume1.state_in_fore.phase,heatportVolume2.state_in_rear.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 17 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (2,3), (2,3), (1,1), (2,3), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001316/1.284, allocations: 0.6877 MB / 1.021 GB, free: 194.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007529/1.285, allocations: 288.6 kB / 1.021 GB, free: 194.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/1.3, allocations: 13.85 MB / 1.034 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/1.3, allocations: 19.94 kB / 1.034 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.3, allocations: 4 kB / 1.035 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009374/1.301, allocations: 0.5563 MB / 1.035 GB, free: 179.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/1.302, allocations: 83.8 kB / 1.035 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004248/1.306, allocations: 0.577 MB / 1.036 GB, free: 179.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004781/1.306, allocations: 300 kB / 1.036 GB, free: 178.8 MB / 0.6511 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): heatportVolume14.medium.phase = if heatportVolume14.medium.state.h < $cse40.h or heatportVolume14.medium.state.h > $cse41.h or heatportVolume14.medium.state.p > 22064000.0 then 1 else 2 2/2 (16): $cse42 = ThermofluidStream.Media.myMedia.Water.IF97_Utilities.waterBaseProp_ph(heatportVolume14.medium.state.p, heatportVolume14.medium.state.h, heatportVolume14.medium.phase, 0) 3/18 (1): heatportVolume14.medium.d = $cse42.rho 4/19 (1): heatportVolume14.medium.u = heatportVolume14.medium.state.h - heatportVolume14.medium.state.p / heatportVolume14.medium.d Variables: 1: heatportVolume14.medium.d:DUMMY_STATE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) "Density of medium" type: Real 2: $cse42.region:DISCRETE(protected = true ) type: Integer unreplaceable 3: $cse42.R:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse42.s:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse42.T:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse42.vt:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse42.pd:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse42.cp:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse42.p:VARIABLE(protected = true ) type: Real unreplaceable 10: heatportVolume14.medium.state.h:DUMMY_STATE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 stateSelect=StateSelect.never ) "Specific enthalpy" type: Real 11: $cse42.vp:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse42.cv:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse42.rho:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse42.h:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse42.phase:DISCRETE(protected = true ) type: Integer unreplaceable 16: $cse42.x:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse42.pt:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse42.dpT:VARIABLE(protected = true ) type: Real unreplaceable 19: heatportVolume14.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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9746:5-9747:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007169/1.307, allocations: 337.9 kB / 1.036 GB, free: 178.5 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.