Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7200,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_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7200,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_trunk_cpp_Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002089/0.002089, allocations: 194.5 kB / 18.04 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.741/1.741, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009648/0.0009651, allocations: 98.61 kB / 297.4 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 8 kB / 357.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4328, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater): time 1.525/1.958, allocations: 404.2 MB / 0.7939 GB, free: 8.379 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1447/2.102, allocations: 89.82 MB / 0.8816 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02381/2.126, allocations: 325.5 kB / 0.8819 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.02217/2.149, allocations: 3.84 MB / 0.8857 GB, free: 5.27 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:672:21-672:28:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:679:21-679:28:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:683:21-683:28:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:62-1471:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:48-1471:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1484:40-1484:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:62-1471:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:48-1471:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1484:40-1484:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:62-1471:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:48-1471:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1484:40-1484:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:62-1471:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:48-1471:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1484:40-1484:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:62-1471:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:48-1471:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1484:40-1484:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:62-1471:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1471:48-1471:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Examples/AST_BatchPlant.mo:1484:40-1484:47:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.09598/2.245, allocations: 18.51 MB / 0.9037 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.8543/3.099, allocations: 14.05 MB / 0.9175 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.07768/3.177, allocations: 29.95 MB / 0.9467 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02783/3.204, allocations: 6.695 MB / 0.9532 GB, free: 27.79 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04009/3.245, allocations: 8.161 MB / 0.9612 GB, free: 27.79 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1159/3.361, allocations: 59.98 MB / 1.02 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.01094/3.372, allocations: 0.5664 MB / 1.02 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07596/3.448, allocations: 16.45 MB / 1.036 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.01478/3.463, allocations: 2.986 MB / 1.039 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.02641/3.489, allocations: 5.453 MB / 1.045 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.06735/3.556, allocations: 19.35 MB / 1.064 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/3.556, allocations: 0 / 1.064 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.286e-06/3.556, allocations: 0 / 1.064 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001343/3.558, allocations: 0 / 1.064 GB, free: 13.28 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: 2389 * Number of variables: 2389 Notification: Performance of Generate backend data structure: time 0.06871/3.627, allocations: 14.63 MB / 1.078 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 9.328e-05/3.627, allocations: 9.234 kB / 1.078 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02934/3.656, allocations: 3.424 MB / 1.081 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03404/3.69, allocations: 10.89 MB / 1.092 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003473/3.694, allocations: 1.432 MB / 1.093 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007437/3.701, allocations: 0.9361 MB / 1.094 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07204/3.773, allocations: 15.27 MB / 1.109 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001239/3.775, allocations: 34.16 kB / 1.109 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008015/3.783, allocations: 395.6 kB / 1.109 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/3.784, allocations: 0.5742 MB / 1.11 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06126/3.845, allocations: 14.1 MB / 1.124 GB, free: 12.32 MB / 0.6823 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.7104/4.556, allocations: 62.74 MB / 1.185 GB, free: 351.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0304/4.586, allocations: 12 MB / 1.197 GB, free: 347.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01306/4.6, allocations: 5.677 MB / 1.202 GB, free: 345.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.11/4.71, allocations: 61.07 MB / 1.262 GB, free: 295.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02263/4.732, allocations: 8.276 MB / 1.27 GB, free: 287 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006529/4.739, allocations: 0.9387 MB / 1.271 GB, free: 286.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=925): time 4.36e-05/4.739, allocations: 0 / 1.271 GB, free: 286.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=999): time 0.2023/4.941, allocations: 64.99 MB / 1.334 GB, free: 222 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002495/4.941, allocations: 0.6231 MB / 1.335 GB, free: 221.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007726/4.949, allocations: 5.425 MB / 1.34 GB, free: 215.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002786/4.952, allocations: 313.6 kB / 1.341 GB, free: 215.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003189/4.955, allocations: 3.802 MB / 1.344 GB, free: 211.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.006113/4.961, allocations: 3.149 MB / 1.347 GB, free: 208.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/4.963, allocations: 232 kB / 1.348 GB, free: 208.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0006364/4.963, allocations: 0.7453 MB / 1.348 GB, free: 207.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009752/4.973, allocations: 5.011 MB / 1.353 GB, free: 202.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/4.985, allocations: 7.268 MB / 1.36 GB, free: 194.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02127/5.006, allocations: 12.02 MB / 1.372 GB, free: 181.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.884e-05/5.006, allocations: 16 kB / 1.372 GB, free: 181.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=1456) (initialization): time 0.03531/5.041, allocations: 15.33 MB / 1.387 GB, free: 166.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/5.042, allocations: 1.89 MB / 1.389 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.4e-05/5.042, allocations: 64 kB / 1.389 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/5.053, allocations: 3.245 MB / 1.392 GB, free: 160 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0107/5.064, allocations: 2.387 MB / 1.394 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/5.081, allocations: 25.06 MB / 1.419 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/5.093, allocations: 1.111 MB / 1.42 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002614/5.096, allocations: 0.5077 MB / 1.421 GB, free: 129.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/5.096, allocations: 7.938 kB / 1.421 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03387/5.13, allocations: 14.47 MB / 1.435 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/5.13, allocations: 60.19 kB / 1.435 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00767/5.138, allocations: 2.497 MB / 1.437 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/5.15, allocations: 2.43 MB / 1.44 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02933/5.179, allocations: 33.78 MB / 1.473 GB, free: 74.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/5.19, allocations: 1.102 MB / 1.474 GB, free: 73.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001942/5.192, allocations: 0.5038 MB / 1.474 GB, free: 72.51 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 267 * Number of states: 0 () * Number of discrete variables: 414 ($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,$PRE.controller.Transition13b.enableFire,$PRE.controller.Transition10b.enableFire,$PRE.controller.Transition2.t_start,controller.Transition2.t_start,$PRE.controller.Transition4.t_start,controller.Transition4.t_start,$PRE.controller.Transition5.t_start,controller.Transition5.t_start,$PRE.controller.Transition6.t_start,controller.Transition6.t_start,$PRE.controller.Transition8.t_start,controller.Transition8.t_start,$PRE.controller.Transition9.t_start,controller.Transition9.t_start,$PRE.controller.Transition10.t_start,controller.Transition10.t_start,$PRE.controller.Transition11.t_start,controller.Transition11.t_start,$PRE.controller.Transition12.t_start,controller.Transition12.t_start,$PRE.controller.Transition13.t_start,controller.Transition13.t_start,$PRE.controller.TransitionWithSignal1.t_start,controller.TransitionWithSignal1.t_start,controller.Transition10b.condition,controller.Transition13b.condition,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,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$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,V12.openingGenerator.endValue,V12.openingGenerator.rate,V12.openingGenerator.T,V15.openingGenerator.endValue,V15.openingGenerator.rate,V15.openingGenerator.T,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.Step13b.active,$PRE.controller.Step13b.localActive,controller.Step13b.localActive,$PRE.controller.Step13b.newActive,controller.Step13b.newActive,$PRE.controller.Step13b.oldActive,controller.Step13b.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,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.Transition13b.enableFire,controller.Transition13b.fire,$PRE.controller.Transition13b.t_start,controller.Transition13b.t_start,controller.Step10b.active,$PRE.controller.Step10b.localActive,controller.Step10b.localActive,$PRE.controller.Step10b.newActive,controller.Step10b.newActive,$PRE.controller.Step10b.oldActive,controller.Step10b.oldActive,controller.Transition10b.enableFire,controller.Transition10b.fire,$PRE.controller.Transition10b.t_start,controller.Transition10b.t_start,V11.openingGenerator.endValue,V11.openingGenerator.rate,V11.openingGenerator.T,V8.openingGenerator.endValue,V8.openingGenerator.rate,V8.openingGenerator.T,V9.openingGenerator.endValue,V9.openingGenerator.rate,V9.openingGenerator.T,V2.openingGenerator.endValue,V2.openingGenerator.rate,V2.openingGenerator.T,V4.openingGenerator.endValue,V4.openingGenerator.rate,V4.openingGenerator.T,V3.openingGenerator.endValue,V3.openingGenerator.rate,V3.openingGenerator.T,V6.openingGenerator.endValue,V6.openingGenerator.rate,V6.openingGenerator.T,V23.open,V23.openingGenerator.endValue,V23.openingGenerator.rate,V23.openingGenerator.T,V1.openingGenerator.endValue,V1.openingGenerator.rate,V1.openingGenerator.T,V22.openingGenerator.endValue,V22.openingGenerator.rate,V22.openingGenerator.T,V5.openingGenerator.endValue,V5.openingGenerator.rate,V5.openingGenerator.T,V24.openingGenerator.endValue,V24.openingGenerator.rate,V24.openingGenerator.T,V25.open,V25.openingGenerator.endValue,V25.openingGenerator.rate,V25.openingGenerator.T,V20.openingGenerator.endValue,V20.openingGenerator.rate,V20.openingGenerator.T,V19.openingGenerator.endValue,V19.openingGenerator.rate,V19.openingGenerator.T,V10.openingGenerator.endValue,V10.openingGenerator.rate,V10.openingGenerator.T,V21.openingGenerator.endValue,V21.openingGenerator.rate,V21.openingGenerator.T,volume5.medium.phase,V18.openingGenerator.endValue,V18.openingGenerator.rate,V18.openingGenerator.T,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 (1328): * Single equations (assignments): 1298 * 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,2 5,1 1,1 1,1 1,2 10,1 1,1 1,1 6,1 1,1 1,1 1,2 14,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.006384/5.198, allocations: 2.393 MB / 1.476 GB, free: 70.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/5.2, allocations: 0.8221 MB / 1.477 GB, free: 69.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05603/5.256, allocations: 37.88 MB / 1.514 GB, free: 31.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3237/5.58, allocations: 32.11 MB / 1.546 GB, free: 344.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001101/5.58, allocations: 6.328 kB / 1.546 GB, free: 344.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007792/5.588, allocations: 2.651 MB / 1.548 GB, free: 344.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002636/5.59, allocations: 273.5 kB / 1.548 GB, free: 344.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01007/5.601, allocations: 1.071 MB / 1.55 GB, free: 344.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002882/5.603, allocations: 0.9563 MB / 1.55 GB, free: 344.3 MB / 0.698 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.openingGenerator.y * V10.k * V10.dp 2/2 (1): pipeB1B1.flowModel.m_flows[1] = $cse101 * pipeB1B1.flowModel.nParallel 3/3 (1): $cse101 = 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) 4/4 (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, true) 5/5 (1): pipeB1B1.flowModel.rhos[2] = $cse100.rho 6/6 (16): $cse100 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeB1B1.flowModel.states[2].p, volume4.medium.h, 0, 0) 7/22 (1): pipeB1B1.flowModel.states[2].T = $cse100.T 8/23 (1): pipeB1B1.flowModel.Fs_p[1] = pipeB1B1.flowModel.nParallel * pipeB1B1.crossArea * (pipeB1B1.flowModel.states[2].p - pipeB1B1.flowModel.states[1].p) 9/24 (1): pipeB1B1.flowModel.dps_fg[1] = (-2.0) * pipeB1B1.flowModel.Fs_p[1] / (2.0 * pipeB1B1.crossArea * pipeB1B1.flowModel.nParallel) 10/25 (1): V10.dp = pipeB1B1.flowModel.states[2].p - volume4.medium.p 11/26 (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) 12/27 (16): $cse99 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeB1B1.flowModel.states[1].p, B3.medium.h, 0, 0) 13/43 (1): pipeB1B1.flowModel.rhos[1] = $cse99.rho 14/44 (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, true) 15/45 (1): pipeB1B1.flowModel.states[1].T = $cse99.T Variables: 1: pipeB1B1.flowModel.states[1].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [2] 2: pipeB1B1.flowModel.mus[1]:VARIABLE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 3: pipeB1B1.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 4: $cse99.region:DISCRETE(protected = true ) type: Integer unreplaceable 5: $cse99.pt:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse99.pd:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse99.vp:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse99.cv:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse99.phase:DISCRETE(protected = true ) type: Integer unreplaceable 10: $cse99.T:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse99.p:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse99.rho:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse99.x:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse99.h:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse99.R_s:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse99.vt:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse99.s:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse99.dpT:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse99.cp:VARIABLE(protected = true ) type: Real unreplaceable 20: pipeB1B1.flowModel.states[1].p:VARIABLE(min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Pressure" type: Real [2] 21: V10.dp:VARIABLE(start = 1013.25 unit = "Pa" ) "Pressure difference between port_a and port_b (= port_a.p - port_b.p)" type: Real 22: pipeB1B1.flowModel.dps_fg[1]:VARIABLE(start = 0.0 unit = "Pa" ) "Pressure drop between states" type: Real [1] 23: pipeB1B1.flowModel.Fs_p[1]:VARIABLE(unit = "N" ) "Pressure forces" type: Real [1] 24: pipeB1B1.flowModel.states[2].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [2] 25: $cse100.h:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse100.pt:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse100.vt:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse100.cp:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse100.p:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse100.T:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse100.phase:DISCRETE(protected = true ) type: Integer unreplaceable 32: $cse100.cv:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse100.x:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse100.vp:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse100.dpT:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse100.R_s:VARIABLE(protected = true ) type: Real unreplaceable 37: pipeB1B1.flowModel.states[2].p:VARIABLE(min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Pressure" type: Real [2] 38: $cse100.pd:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse100.s:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse100.rho:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse100.region:DISCRETE(protected = true ) type: Integer unreplaceable 42: pipeB1B1.flowModel.mus[2]:VARIABLE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 43: pipeB1B1.flowModel.rhos[2]:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 44: $cse101:VARIABLE(protected = true ) type: Real unreplaceable 45: 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] [/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.003955/5.607, allocations: 3.029 MB / 1.553 GB, free: 342.8 MB / 0.698 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.