Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater.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) 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(Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|B1.level|B1.medium.h|B2.level|B2.medium.h|B3.level|B3.medium.h|B4.level|B4.medium.h|B5.level|B5.medium.h|B6.level|B6.medium.h|B7.level|B7.medium.h|P1.medium.h|P1.medium.p|P2.medium.h|P2.medium.p|pipeB1B2.mediums.1..h|pipeB1B2.mediums.1..p|pipeB1B2.mediums.2..h|pipeB1B2.mediums.2..p|pipePump1B1.mediums.1..h|pipePump1B1.mediums.1..p|pipePump1B1.mediums.2..h|pipePump1B1.mediums.2..p|pipePump2B2.mediums.1..h|pipePump2B2.mediums.1..p|pipePump2B2.mediums.2..h|pipePump2B2.mediums.2..p|volume4.medium.h|volume4.medium.p|volume5.medium.h|volume5.medium.p|B5.InnerTankBottom.1..m_flow_negative|B5.InnerTankSide.1..m_flow_negative|B5.InnerTankTop.1..m_flow_negative|P1_on.y|P2_on.y|controller.Transition1.enableFire|controller.Transition10.enableFire|controller.Transition11.enableFire|controller.Transition12.enableFire|controller.Transition13.enableFire|controller.Transition2.enableFire|controller.Transition3.enableFire|controller.Transition4.enableFire|controller.Transition5.enableFire|controller.Transition6.enableFire|controller.Transition7.enableFire|controller.Transition8.enableFire|controller.Transition9.enableFire|controller.TransitionWithSignal1.enableFire",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|B1.level|B1.medium.h|B2.level|B2.medium.h|B3.level|B3.medium.h|B4.level|B4.medium.h|B5.level|B5.medium.h|B6.level|B6.medium.h|B7.level|B7.medium.h|P1.medium.h|P1.medium.p|P2.medium.h|P2.medium.p|pipeB1B2.mediums.1..h|pipeB1B2.mediums.1..p|pipeB1B2.mediums.2..h|pipeB1B2.mediums.2..p|pipePump1B1.mediums.1..h|pipePump1B1.mediums.1..p|pipePump1B1.mediums.2..h|pipePump1B1.mediums.2..p|pipePump2B2.mediums.1..h|pipePump2B2.mediums.1..p|pipePump2B2.mediums.2..h|pipePump2B2.mediums.2..p|volume4.medium.h|volume4.medium.p|volume5.medium.h|volume5.medium.p|B5.InnerTankBottom.1..m_flow_negative|B5.InnerTankSide.1..m_flow_negative|B5.InnerTankTop.1..m_flow_negative|P1_on.y|P2_on.y|controller.Transition1.enableFire|controller.Transition10.enableFire|controller.Transition11.enableFire|controller.Transition12.enableFire|controller.Transition13.enableFire|controller.Transition2.enableFire|controller.Transition3.enableFire|controller.Transition4.enableFire|controller.Transition5.enableFire|controller.Transition6.enableFire|controller.Transition7.enableFire|controller.Transition8.enableFire|controller.Transition9.enableFire|controller.TransitionWithSignal1.enableFire",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002937/0.002937, allocations: 179.2 kB / 17.39 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.756/2.756, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.001059/0.001059, allocations: 93.36 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.0006331, allocations: 8 kB / 328.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5918, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater): time 1.809/2.401, allocations: 402.4 MB / 0.7599 GB, free: 5.859 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.1865/2.587, allocations: 88.9 MB / 0.8467 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03418/2.622, allocations: 321.5 kB / 0.847 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.03173/2.654, allocations: 3.785 MB / 0.8507 GB, free: 11.77 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:674:21-674:28:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:681:21-681:28:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:685:21-685:28:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:62-1451:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:48-1451:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1465:40-1465:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:62-1451:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:48-1451:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1465:40-1465:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:62-1451:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:48-1451:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1465:40-1465:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:62-1451:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:48-1451:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1465:40-1465:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:62-1451:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:48-1451:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1465:40-1465:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:62-1451:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1451:48-1451:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples/AST_BatchPlant.mo:1465:40-1465:47:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 1.003/3.657, allocations: 18.33 MB / 0.8686 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.07884/3.736, allocations: 13.72 MB / 0.882 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.08546/3.821, allocations: 28.62 MB / 0.91 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03652/3.858, allocations: 6.167 MB / 0.916 GB, free: 26.32 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0483/3.906, allocations: 7.69 MB / 0.9235 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1381/4.045, allocations: 59.38 MB / 0.9815 GB, free: 8.098 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0102/4.055, allocations: 0.5078 MB / 0.982 GB, free: 7.59 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08854/4.144, allocations: 16.33 MB / 0.9979 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.01512/4.159, allocations: 2.744 MB / 1.001 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.03593/4.195, allocations: 5.006 MB / 1.005 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.08399/4.279, allocations: 18.3 MB / 1.023 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.928e-05/4.279, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of FrontEnd: time 7.394e-06/4.279, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001519/4.281, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2241 * Number of variables: 2241 Notification: Performance of Generate backend data structure: time 0.07401/4.355, allocations: 12.49 MB / 1.036 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 9.447e-05/4.355, allocations: 8.031 kB / 1.036 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03096/4.386, allocations: 3.328 MB / 1.039 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04357/4.429, allocations: 10.45 MB / 1.049 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003686/4.433, allocations: 1.351 MB / 1.05 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008714/4.442, allocations: 0.8659 MB / 1.051 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07292/4.515, allocations: 14.15 MB / 1.065 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009012/4.516, allocations: 33 kB / 1.065 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005688/4.522, allocations: 375.5 kB / 1.065 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001497/4.523, allocations: 0.5492 MB / 1.066 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05791/4.581, allocations: 13.09 MB / 1.079 GB, free: 8.742 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 1.058/5.639, allocations: 60.8 MB / 1.138 GB, free: 340.7 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03612/5.675, allocations: 10.45 MB / 1.148 GB, free: 336.6 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01707/5.692, allocations: 4.945 MB / 1.153 GB, free: 334.1 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1325/5.825, allocations: 55.76 MB / 1.208 GB, free: 290.8 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.029/5.854, allocations: 7.134 MB / 1.215 GB, free: 283.6 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01078/5.865, allocations: 0.7211 MB / 1.215 GB, free: 283.2 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=796): time 0.0001234/5.865, allocations: 0 / 1.215 GB, free: 283.2 MB / 0.6668 GB Notification: Performance of matching and sorting (n=870): time 0.2018/6.067, allocations: 48.29 MB / 1.262 GB, free: 235.3 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003185/6.067, allocations: 316.3 kB / 1.263 GB, free: 235 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01594/6.083, allocations: 5.026 MB / 1.268 GB, free: 230 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.00434/6.088, allocations: 255.3 kB / 1.268 GB, free: 229.7 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.005709/6.093, allocations: 3.602 MB / 1.271 GB, free: 226.1 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.008086/6.102, allocations: 2.849 MB / 1.274 GB, free: 223.3 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003897/6.106, allocations: 204 kB / 1.274 GB, free: 223.1 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.001406/6.107, allocations: 0.6884 MB / 1.275 GB, free: 222.4 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01389/6.121, allocations: 4.502 MB / 1.279 GB, free: 217.9 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01699/6.138, allocations: 6.655 MB / 1.286 GB, free: 210.5 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03216/6.17, allocations: 11 MB / 1.297 GB, free: 198.6 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002118/6.171, allocations: 16 kB / 1.297 GB, free: 198.6 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.05877/6.229, allocations: 14.12 MB / 1.31 GB, free: 184.3 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 0.003091/6.233, allocations: 1.847 MB / 1.312 GB, free: 181.6 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/6.233, allocations: 56 kB / 1.312 GB, free: 181.6 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01393/6.247, allocations: 3.274 MB / 1.316 GB, free: 178.2 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/6.26, allocations: 2.137 MB / 1.318 GB, free: 176.1 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02742/6.288, allocations: 25.17 MB / 1.342 GB, free: 149.6 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01807/6.306, allocations: 1.005 MB / 1.343 GB, free: 148.6 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005332/6.311, allocations: 483.8 kB / 1.344 GB, free: 148.2 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/6.311, allocations: 4 kB / 1.344 GB, free: 148.2 MB / 0.6668 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05992/6.371, allocations: 13.31 MB / 1.357 GB, free: 134.7 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003828/6.372, allocations: 60 kB / 1.357 GB, free: 134.6 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009988/6.382, allocations: 2.543 MB / 1.359 GB, free: 132 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/6.396, allocations: 2.165 MB / 1.361 GB, free: 129.8 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04282/6.439, allocations: 33.95 MB / 1.394 GB, free: 93.79 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01919/6.458, allocations: 1.005 MB / 1.395 GB, free: 92.78 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005454/6.464, allocations: 471.9 kB / 1.396 GB, free: 92.32 MB / 0.6668 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 263 * Number of states: 0 () * Number of discrete variables: 288 ($PRE.controller.Transition1.enableFire,$PRE.controller.Transition2.enableFire,$PRE.controller.Transition3.enableFire,$PRE.controller.Transition4.enableFire,$PRE.controller.Transition5.enableFire,$PRE.controller.Transition6.enableFire,$PRE.controller.Transition7.enableFire,$PRE.controller.Transition8.enableFire,$PRE.controller.Transition9.enableFire,$PRE.controller.Transition10.enableFire,$PRE.controller.Transition11.enableFire,$PRE.controller.Transition12.enableFire,$PRE.controller.Transition13.enableFire,$PRE.controller.TransitionWithSignal1.enableFire,controller.stateGraphRoot.resume,controller.stateGraphRoot.suspend,controller.Transition7.condition,controller.Transition3.condition,controller.Transition1.condition,controller.actuators.V21,controller.actuators.V19,controller.actuators.V10,controller.actuators.V4,controller.actuators.V2,pipeB7Pump.flowModel.states[2].phase,pipeB7Pump.flowModel.states[1].phase,pipeB6Pump.flowModel.states[2].phase,pipeB6Pump.flowModel.states[1].phase,pipeB1B1.flowModel.states[2].phase,pipeB1B1.flowModel.states[1].phase,pipeB2B3.flowModel.states[2].phase,pipeB2B3.flowModel.states[1].phase,pipeB1B3.flowModel.states[2].phase,pipeB1B3.flowModel.states[1].phase,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.B5.InnerTankTop[1].m_flow_negative,B5.InnerTankTop[1].m_flow_negative,$PRE.B5.InnerTankSide[1].m_flow_negative,B5.InnerTankSide[1].m_flow_negative,$PRE.B5.InnerTankBottom[1].m_flow_negative,B5.InnerTankBottom[1].m_flow_negative,B5.heatTransfer.states[1].phase,controller.InitialStep1.active,$PRE.controller.InitialStep1.localActive,controller.InitialStep1.localActive,$PRE.controller.InitialStep1.newActive,controller.InitialStep1.newActive,$PRE.controller.InitialStep1.oldActive,controller.InitialStep1.oldActive,controller.Transition1.enableFire,controller.Transition1.fire,$PRE.controller.Transition1.t_start,controller.Transition1.t_start,controller.Step1.active,$PRE.controller.Step1.localActive,controller.Step1.localActive,$PRE.controller.Step1.newActive,controller.Step1.newActive,$PRE.controller.Step1.oldActive,controller.Step1.oldActive,controller.Transition2.condition,controller.Transition2.enableFire,controller.Step2.active,$PRE.controller.Step2.localActive,controller.Step2.localActive,$PRE.controller.Step2.newActive,controller.Step2.newActive,$PRE.controller.Step2.oldActive,controller.Step2.oldActive,controller.Transition3.enableFire,controller.Transition3.fire,$PRE.controller.Transition3.t_start,controller.Transition3.t_start,controller.Step3.active,$PRE.controller.Step3.localActive,controller.Step3.localActive,$PRE.controller.Step3.newActive,controller.Step3.newActive,$PRE.controller.Step3.oldActive,controller.Step3.oldActive,controller.Transition4.condition,controller.Transition4.enableFire,controller.Step4.active,$PRE.controller.Step4.localActive,controller.Step4.localActive,$PRE.controller.Step4.newActive,controller.Step4.newActive,$PRE.controller.Step4.oldActive,controller.Step4.oldActive,controller.Transition5.enableFire,controller.Step5.active,$PRE.controller.Step5.localActive,controller.Step5.localActive,$PRE.controller.Step5.newActive,controller.Step5.newActive,$PRE.controller.Step5.oldActive,controller.Step5.oldActive,controller.Transition6.condition,controller.Transition6.enableFire,controller.Step6.active,$PRE.controller.Step6.localActive,controller.Step6.localActive,$PRE.controller.Step6.newActive,controller.Step6.newActive,$PRE.controller.Step6.oldActive,controller.Step6.oldActive,controller.Transition7.enableFire,controller.Transition7.fire,controller.Transition7.outPort.occupied,$PRE.controller.Transition7.t_start,controller.Transition7.t_start,controller.Step7.active,$PRE.controller.Step7.localActive,controller.Step7.localActive,$PRE.controller.Step7.newActive,controller.Step7.newActive,$PRE.controller.Step7.oldActive,controller.Step7.oldActive,controller.Step8.active,$PRE.controller.Step8.localActive,controller.Step8.localActive,$PRE.controller.Step8.newActive,controller.Step8.newActive,$PRE.controller.Step8.oldActive,controller.Step8.oldActive,controller.Step9.active,$PRE.controller.Step9.localActive,controller.Step9.localActive,$PRE.controller.Step9.newActive,controller.Step9.newActive,$PRE.controller.Step9.oldActive,controller.Step9.oldActive,controller.Step10.active,$PRE.controller.Step10.localActive,controller.Step10.localActive,$PRE.controller.Step10.newActive,controller.Step10.newActive,$PRE.controller.Step10.oldActive,controller.Step10.oldActive,controller.Step11.active,$PRE.controller.Step11.localActive,controller.Step11.localActive,$PRE.controller.Step11.newActive,controller.Step11.newActive,$PRE.controller.Step11.oldActive,controller.Step11.oldActive,controller.Step12.active,$PRE.controller.Step12.localActive,controller.Step12.localActive,$PRE.controller.Step12.newActive,controller.Step12.newActive,$PRE.controller.Step12.oldActive,controller.Step12.oldActive,controller.Step13.active,$PRE.controller.Step13.localActive,controller.Step13.localActive,$PRE.controller.Step13.newActive,controller.Step13.newActive,$PRE.controller.Step13.oldActive,controller.Step13.oldActive,controller.Step14.active,$PRE.controller.Step14.localActive,controller.Step14.localActive,$PRE.controller.Step14.newActive,controller.Step14.newActive,$PRE.controller.Step14.oldActive,controller.Step14.oldActive,controller.Transition8.enableFire,controller.Transition9.condition,controller.Transition9.enableFire,controller.Transition10.condition,controller.Transition10.enableFire,controller.Transition11.condition,controller.Transition11.enableFire,controller.Transition12.condition,controller.Transition12.enableFire,controller.Transition13.condition,controller.Transition13.enableFire,controller.T5_idle,controller.T7_idle,controller.TransitionWithSignal1.condition,controller.TransitionWithSignal1.enableFire,controller.TransitionWithSignal1.inPort.available,controller.stateGraphRoot.activeSteps,volume5.medium.phase,P1.heatTransfer.states[1].phase,P2.heatTransfer.states[1].phase,B1.heatTransfer.states[1].phase,$PRE.B1.ports_m_flow_out[1],B1.ports_m_flow_out[1],$PRE.B1.aboveLevel[1],B1.aboveLevel[1],P1_on.endValue,P1_on.rate,P1_on.T,P2_on.endValue,P2_on.rate,P2_on.T,B2.heatTransfer.states[1].phase,$PRE.B2.ports_m_flow_out[1],B2.ports_m_flow_out[1],$PRE.B2.aboveLevel[1],B2.aboveLevel[1],B3.heatTransfer.states[1].phase,$PRE.B3.ports_m_flow_out[1],B3.ports_m_flow_out[1],$PRE.B3.ports_m_flow_out[2],B3.ports_m_flow_out[2],$PRE.B3.aboveLevel[1],B3.aboveLevel[1],$PRE.B3.aboveLevel[2],B3.aboveLevel[2],B4.heatTransfer.states[1].phase,$PRE.B4.ports_m_flow_out[1],B4.ports_m_flow_out[1],$PRE.B4.aboveLevel[1],B4.aboveLevel[1],B7.heatTransfer.states[1].phase,$PRE.B7.ports_m_flow_out[1],B7.ports_m_flow_out[1],$PRE.B7.aboveLevel[1],B7.aboveLevel[1],pipeB1B2.statesFM[1].phase,pipeB1B2.statesFM[2].phase,pipePump1B1.statesFM[1].phase,pipePump1B1.statesFM[2].phase,pipePump2B2.statesFM[1].phase,pipePump2B2.statesFM[2].phase,B6.heatTransfer.states[1].phase,$PRE.B6.ports_m_flow_out[1],B6.ports_m_flow_out[1],$PRE.B6.aboveLevel[1],B6.aboveLevel[1],volume4.medium.phase,pipePump2B2.state_b.phase,pipePump2B2.state_a.phase,pipePump1B1.state_b.phase,pipePump1B1.state_a.phase,pipeB1B2.state_b.phase,pipeB1B2.state_a.phase,P2.monitoring.state_in.phase,P1.monitoring.state_in.phase,V18.state_b.phase,V18.state_a.phase,V21.state_b.phase,V21.state_a.phase,V10.state_b.phase,V10.state_a.phase,V19.state_b.phase,V19.state_a.phase,V20.state_b.phase,V20.state_a.phase,V25.state_b.phase,V25.state_a.phase,V24.state_b.phase,V24.state_a.phase,V5.state_b.phase,V5.state_a.phase,V22.state_b.phase,V22.state_a.phase,V1.state_b.phase,V1.state_a.phase,V23.state_b.phase,V23.state_a.phase,V6.state_b.phase,V6.state_a.phase,V3.state_b.phase,V3.state_a.phase,V4.state_b.phase,V4.state_a.phase,V2.state_b.phase,V2.state_a.phase,V9.state_b.phase,V9.state_a.phase,V8.state_b.phase,V8.state_a.phase,V11.state_b.phase,V11.state_a.phase,V15.state_b.phase,V15.state_a.phase,V12.state_b.phase,V12.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1167): * Single equations (assignments): 1137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 30 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 28 {2 2,1 5,1 5,2 2,1 5,1 2,1 1,1 5,1 5,2 7,1 5,2 7,1 2,1 1,1 1,1 1,1 1,2 5,1 1,2 10,1 1,1 1,1 1,1 1,1 6,1 1,2 14,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.01386/6.478, allocations: 2.177 MB / 1.398 GB, free: 90.13 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004157/6.482, allocations: 0.7372 MB / 1.399 GB, free: 89.38 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07341/6.555, allocations: 35.59 MB / 1.433 GB, free: 53.56 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08192/6.637, allocations: 30.27 MB / 1.463 GB, free: 23.07 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003136/6.638, allocations: 0 / 1.463 GB, free: 23.07 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01472/6.653, allocations: 2.445 MB / 1.465 GB, free: 20.59 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007869/6.661, allocations: 239.9 kB / 1.466 GB, free: 20.35 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01571/6.676, allocations: 0.958 MB / 1.467 GB, free: 19.39 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005987/6.682, allocations: 0.8308 MB / 1.467 GB, free: 18.56 MB / 0.6668 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): pipeB1B1.flowModel.m_flows[1] = V10.opening_min * V10.k * V10.dp 2/2 (1): V10.dp = pipeB1B1.flowModel.states[2].p - volume4.medium.p 3/3 (16): $cse98 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeB1B1.flowModel.states[2].p, volume4.medium.h, 0, 0) 4/19 (1): pipeB1B1.flowModel.rhos[2] = $cse98.rho 5/20 (1): pipeB1B1.flowModel.mus[2] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipeB1B1.flowModel.rhos[2], pipeB1B1.flowModel.states[2].T, pipeB1B1.flowModel.states[2].p, 0) 6/21 (1): $cse99 = Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater.pipeB1B1.flowModel.WallFriction.massFlowRate_dp_staticHead(pipeB1B1.flowModel.dps_fg[1], pipeB1B1.flowModel.rhos[1], pipeB1B1.flowModel.rhos[2], pipeB1B1.flowModel.mus[1], pipeB1B1.flowModel.mus[2], pipeB1B1.length, pipeB1B1.flowModel.diameters[1], pipeB1B1.flowModel.g * pipeB1B1.height_ab, pipeB1B1.crossArea, pipeB1B1.roughness, pipeB1B1.flowModel.dp_small, 4000.0) 7/22 (1): pipeB1B1.flowModel.mus[1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipeB1B1.flowModel.rhos[1], pipeB1B1.flowModel.states[1].T, pipeB1B1.flowModel.states[1].p, 0) 8/23 (1): pipeB1B1.flowModel.states[1].T = $cse97.T 9/24 (16): $cse97 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeB1B1.flowModel.states[1].p, B3.medium.h, 0, 0) 10/40 (1): pipeB1B1.flowModel.rhos[1] = $cse97.rho 11/41 (1): pipeB1B1.flowModel.Fs_p[1] = pipeB1B1.flowModel.nParallel * pipeB1B1.crossArea * (pipeB1B1.flowModel.states[2].p - pipeB1B1.flowModel.states[1].p) 12/42 (1): pipeB1B1.flowModel.dps_fg[1] = (-2.0) * pipeB1B1.flowModel.Fs_p[1] / (2.0 * pipeB1B1.crossArea * pipeB1B1.flowModel.nParallel) 13/43 (1): 0.0 = if B3.aboveLevel[2] then pipeB1B1.flowModel.states[1].p - (101325.0 + B3.levelAbovePort[2] * system.g * B3.heatTransfer.states[1].d - smooth(2, if noEvent((-pipeB1B1.flowModel.m_flows[1]) < 0.0) then pipeB1B1.flowModel.m_flows[1] ^ 2.0 / (2.0 * B3.heatTransfer.states[1].d * B3.bottomArea[2] ^ 2.0) else 0.0)) else -(if pre(B3.ports_m_flow_out[2]) then -pipeB1B1.flowModel.m_flows[1] else pipeB1B1.flowModel.states[1].p - 101325.0) 14/44 (1): pipeB1B1.flowModel.m_flows[1] = $cse99 * pipeB1B1.flowModel.nParallel 15/45 (1): pipeB1B1.flowModel.states[2].T = $cse98.T Variables: 1: pipeB1B1.flowModel.states[2].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [2] 2: $cse99:VARIABLE(protected = true ) type: Real unreplaceable 3: pipeB1B1.flowModel.m_flows[1]:VARIABLE(min = -100000.0 max = 100000.0 start = 0.0 unit = "kg/s" ) "mass flow rates between states" type: Real [1] 4: pipeB1B1.flowModel.dps_fg[1]:VARIABLE(start = 0.0 unit = "Pa" ) "pressure drop between states" type: Real [1] 5: pipeB1B1.flowModel.Fs_p[1]:VARIABLE(unit = "N" ) "Pressure forces" type: Real [1] 6: pipeB1B1.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 7: $cse97.p:VARIABLE(protected = true ) type: Real unreplaceable 8: pipeB1B1.flowModel.states[1].p:VARIABLE(min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Pressure" type: Real [2] 9: $cse97.rho:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse97.dpT:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse97.cv:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse97.pt:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse97.T:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse97.pd:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse97.vp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse97.s:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse97.R:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse97.vt:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse97.cp:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse97.h:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse97.x:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse97.region:DISCRETE(protected = true ) type: Integer unreplaceable 23: $cse97.phase:DISCRETE(protected = true ) type: Integer unreplaceable 24: pipeB1B1.flowModel.states[1].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [2] 25: pipeB1B1.flowModel.mus[1]:VARIABLE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 26: pipeB1B1.flowModel.mus[2]:VARIABLE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 27: pipeB1B1.flowModel.rhos[2]:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 28: $cse98.x:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse98.cv:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse98.rho:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse98.pd:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse98.p:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse98.s:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse98.region:DISCRETE(protected = true ) type: Integer unreplaceable 35: $cse98.vt:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse98.vp:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse98.T:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse98.R:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse98.h:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse98.cp:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse98.dpT:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse98.phase:DISCRETE(protected = true ) type: Integer unreplaceable 43: $cse98.pt:VARIABLE(protected = true ) type: Real unreplaceable 44: pipeB1B1.flowModel.states[2].p:VARIABLE(min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Pressure" type: Real [2] 45: V10.dp:VARIABLE(start = 1013.25 unit = "Pa" ) "Pressure difference between port_a and port_b (= port_a.p - port_b.p)" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9741:5-9742:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006185/6.689, allocations: 2.195 MB / 1.47 GB, free: 16.27 MB / 0.6668 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.