Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(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_4.0.0_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_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 110.2 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001703, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009729/0.0009729, allocations: 43.94 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2086, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater): time 0.8182/1.027, allocations: 425.9 MB / 0.8079 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.08608/1.113, allocations: 93.9 MB / 0.8996 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00843/1.121, allocations: 231.9 kB / 0.8998 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01129/1.133, allocations: 4.675 MB / 0.9044 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.04983/1.183, allocations: 20.5 MB / 0.9244 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.04135/1.224, allocations: 17.84 MB / 0.9418 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.03099/1.255, allocations: 25.68 MB / 0.9669 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/1.267, allocations: 8.009 MB / 0.9747 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01598/1.283, allocations: 9.57 MB / 0.9841 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07643/1.36, allocations: 38.26 MB / 1.021 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.004845/1.365, allocations: 1.191 MB / 1.023 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03939/1.404, allocations: 17.68 MB / 1.04 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.3195/1.724, allocations: 3.694 MB / 1.043 GB, free: 64.28 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01145/1.735, allocations: 6.362 MB / 1.05 GB, free: 64.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.04598/1.781, allocations: 26.85 MB / 1.076 GB, free: 62.71 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.781, allocations: 0 / 1.076 GB, free: 62.71 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/1.781, allocations: 1.156 kB / 1.076 GB, free: 62.71 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003118/1.781, allocations: 0 / 1.076 GB, free: 62.71 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2389 * Number of variables: 2389 Notification: Performance of Generate backend data structure: time 0.04216/1.824, allocations: 16.86 MB / 1.092 GB, free: 55.38 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.824, allocations: 9.312 kB / 1.092 GB, free: 55.38 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02287/1.847, allocations: 3.335 MB / 1.096 GB, free: 54.81 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/1.865, allocations: 11.13 MB / 1.107 GB, free: 53.39 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009273/1.866, allocations: 1.428 MB / 1.108 GB, free: 52.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001759/1.868, allocations: 0.9389 MB / 1.109 GB, free: 52.67 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/1.899, allocations: 15.14 MB / 1.124 GB, free: 50.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/1.9, allocations: 36.67 kB / 1.124 GB, free: 50.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.901, allocations: 396.1 kB / 1.124 GB, free: 50.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004789/1.901, allocations: 0.579 MB / 1.125 GB, free: 50.88 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03044/1.932, allocations: 13.83 MB / 1.138 GB, free: 50.77 MB / 0.7169 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.06252/1.994, allocations: 62.58 MB / 1.199 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0252/2.019, allocations: 11.79 MB / 1.211 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01057/2.03, allocations: 5.593 MB / 1.216 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1325/2.162, allocations: 55.59 MB / 1.27 GB, free: 6.625 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02423/2.187, allocations: 8.112 MB / 1.278 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00402/2.191, allocations: 0.8419 MB / 1.279 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=925): time 1.837e-05/2.191, allocations: 0 / 1.279 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=999): time 0.3888/2.58, allocations: 62.86 MB / 1.341 GB, free: 478.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002853/2.58, allocations: 0.6225 MB / 1.341 GB, free: 478.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007018/2.587, allocations: 5.486 MB / 1.347 GB, free: 478 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.002043/2.589, allocations: 302.3 kB / 1.347 GB, free: 477.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002383/2.591, allocations: 3.805 MB / 1.351 GB, free: 477.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.00247/2.594, allocations: 3.155 MB / 1.354 GB, free: 476.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003123/2.597, allocations: 2.269 MB / 1.356 GB, free: 475.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.216e-05/2.597, allocations: 301.1 kB / 1.356 GB, free: 475.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009415/2.607, allocations: 5 MB / 1.361 GB, free: 474.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/2.617, allocations: 7.21 MB / 1.368 GB, free: 470.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01905/2.636, allocations: 11.91 MB / 1.38 GB, free: 463.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-05/2.636, allocations: 18.41 kB / 1.38 GB, free: 463.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1456) (initialization): time 0.02848/2.665, allocations: 15.23 MB / 1.395 GB, free: 457.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/2.665, allocations: 36.69 kB / 1.395 GB, free: 457.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.987e-05/2.665, allocations: 58.66 kB / 1.395 GB, free: 457.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/2.676, allocations: 3.24 MB / 1.398 GB, free: 456.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009894/2.686, allocations: 2.278 MB / 1.4 GB, free: 456.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/2.703, allocations: 25.8 MB / 1.425 GB, free: 433.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008158/2.711, allocations: 0.5403 MB / 1.426 GB, free: 433.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/2.712, allocations: 0.5208 MB / 1.426 GB, free: 433.6 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0122/2.725, allocations: 6.435 MB / 1.433 GB, free: 431.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009688/2.734, allocations: 7.123 MB / 1.44 GB, free: 426.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01841/2.753, allocations: 11.71 MB / 1.451 GB, free: 418.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.949e-05/2.753, allocations: 16 kB / 1.451 GB, free: 418.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1456) (initialization_lambda0): time 0.02984/2.783, allocations: 14.95 MB / 1.466 GB, free: 404.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/2.783, allocations: 36 kB / 1.466 GB, free: 404.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.265e-05/2.783, allocations: 60 kB / 1.466 GB, free: 404.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00736/2.79, allocations: 2.446 MB / 1.468 GB, free: 402.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009992/2.8, allocations: 2.331 MB / 1.47 GB, free: 400.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0272/2.827, allocations: 35.62 MB / 1.505 GB, free: 363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008669/2.836, allocations: 0.556 MB / 1.506 GB, free: 362.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/2.837, allocations: 0.496 MB / 1.506 GB, free: 361.9 MB / 0.8575 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,controller.Transition2.t_start,$PRE.controller.Transition2.t_start,controller.Transition4.t_start,$PRE.controller.Transition4.t_start,controller.Transition5.t_start,$PRE.controller.Transition5.t_start,controller.Transition6.t_start,$PRE.controller.Transition6.t_start,controller.Transition8.t_start,$PRE.controller.Transition8.t_start,controller.Transition9.t_start,$PRE.controller.Transition9.t_start,controller.Transition10.t_start,$PRE.controller.Transition10.t_start,controller.Transition11.t_start,$PRE.controller.Transition11.t_start,controller.Transition12.t_start,$PRE.controller.Transition12.t_start,controller.Transition13.t_start,$PRE.controller.Transition13.t_start,controller.TransitionWithSignal1.t_start,$PRE.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,volume4.medium.phase,B6.aboveLevel[1],$PRE.B6.aboveLevel[1],B6.ports_m_flow_out[1],$PRE.B6.ports_m_flow_out[1],B6.heatTransfer.states[1].phase,pipePump2B2.statesFM[2].phase,pipePump2B2.statesFM[1].phase,pipePump1B1.statesFM[2].phase,pipePump1B1.statesFM[1].phase,pipeB1B2.statesFM[2].phase,pipeB1B2.statesFM[1].phase,B7.aboveLevel[1],$PRE.B7.aboveLevel[1],B7.ports_m_flow_out[1],$PRE.B7.ports_m_flow_out[1],B7.heatTransfer.states[1].phase,B4.aboveLevel[1],$PRE.B4.aboveLevel[1],B4.ports_m_flow_out[1],$PRE.B4.ports_m_flow_out[1],B4.heatTransfer.states[1].phase,B3.aboveLevel[2],$PRE.B3.aboveLevel[2],B3.aboveLevel[1],$PRE.B3.aboveLevel[1],B3.ports_m_flow_out[2],$PRE.B3.ports_m_flow_out[2],B3.ports_m_flow_out[1],$PRE.B3.ports_m_flow_out[1],B3.heatTransfer.states[1].phase,B2.aboveLevel[1],$PRE.B2.aboveLevel[1],B2.ports_m_flow_out[1],$PRE.B2.ports_m_flow_out[1],B2.heatTransfer.states[1].phase,P2_on.T,P2_on.rate,P2_on.endValue,P1_on.T,P1_on.rate,P1_on.endValue,B1.aboveLevel[1],$PRE.B1.aboveLevel[1],B1.ports_m_flow_out[1],$PRE.B1.ports_m_flow_out[1],B1.heatTransfer.states[1].phase,P2.heatTransfer.states[1].phase,P1.heatTransfer.states[1].phase,V18.openingGenerator.T,V18.openingGenerator.rate,V18.openingGenerator.endValue,volume5.medium.phase,V21.openingGenerator.T,V21.openingGenerator.rate,V21.openingGenerator.endValue,V10.openingGenerator.T,V10.openingGenerator.rate,V10.openingGenerator.endValue,V19.openingGenerator.T,V19.openingGenerator.rate,V19.openingGenerator.endValue,V20.openingGenerator.T,V20.openingGenerator.rate,V20.openingGenerator.endValue,V25.openingGenerator.T,V25.openingGenerator.rate,V25.openingGenerator.endValue,V25.open,V24.openingGenerator.T,V24.openingGenerator.rate,V24.openingGenerator.endValue,V5.openingGenerator.T,V5.openingGenerator.rate,V5.openingGenerator.endValue,V22.openingGenerator.T,V22.openingGenerator.rate,V22.openingGenerator.endValue,V1.openingGenerator.T,V1.openingGenerator.rate,V1.openingGenerator.endValue,V23.openingGenerator.T,V23.openingGenerator.rate,V23.openingGenerator.endValue,V23.open,V6.openingGenerator.T,V6.openingGenerator.rate,V6.openingGenerator.endValue,V3.openingGenerator.T,V3.openingGenerator.rate,V3.openingGenerator.endValue,V4.openingGenerator.T,V4.openingGenerator.rate,V4.openingGenerator.endValue,V2.openingGenerator.T,V2.openingGenerator.rate,V2.openingGenerator.endValue,V9.openingGenerator.T,V9.openingGenerator.rate,V9.openingGenerator.endValue,V8.openingGenerator.T,V8.openingGenerator.rate,V8.openingGenerator.endValue,V11.openingGenerator.T,V11.openingGenerator.rate,V11.openingGenerator.endValue,controller.Transition10b.t_start,$PRE.controller.Transition10b.t_start,controller.Transition10b.fire,controller.Transition10b.enableFire,controller.Step10b.oldActive,$PRE.controller.Step10b.oldActive,controller.Step10b.newActive,$PRE.controller.Step10b.newActive,controller.Step10b.localActive,$PRE.controller.Step10b.localActive,controller.Step10b.active,controller.Transition13b.t_start,$PRE.controller.Transition13b.t_start,controller.Transition13b.fire,controller.Transition13b.enableFire,controller.Step13.oldActive,$PRE.controller.Step13.oldActive,controller.Step13.newActive,$PRE.controller.Step13.newActive,controller.Step13.localActive,$PRE.controller.Step13.localActive,controller.Step13.active,controller.stateGraphRoot.activeSteps,controller.TransitionWithSignal1.inPort.available,controller.TransitionWithSignal1.enableFire,controller.TransitionWithSignal1.localCondition,controller.T7_idle,controller.T5_idle,controller.Transition13.enableFire,controller.Transition13.localCondition,controller.Transition12.enableFire,controller.Transition12.localCondition,controller.Transition11.enableFire,controller.Transition11.localCondition,controller.Transition10.enableFire,controller.Transition10.localCondition,controller.Transition9.enableFire,controller.Transition9.localCondition,controller.Transition8.enableFire,controller.Step14.oldActive,$PRE.controller.Step14.oldActive,controller.Step14.newActive,$PRE.controller.Step14.newActive,controller.Step14.localActive,$PRE.controller.Step14.localActive,controller.Step14.active,controller.Step13b.oldActive,$PRE.controller.Step13b.oldActive,controller.Step13b.newActive,$PRE.controller.Step13b.newActive,controller.Step13b.localActive,$PRE.controller.Step13b.localActive,controller.Step13b.active,controller.Step12.oldActive,$PRE.controller.Step12.oldActive,controller.Step12.newActive,$PRE.controller.Step12.newActive,controller.Step12.localActive,$PRE.controller.Step12.localActive,controller.Step12.active,controller.Step11.oldActive,$PRE.controller.Step11.oldActive,controller.Step11.newActive,$PRE.controller.Step11.newActive,controller.Step11.localActive,$PRE.controller.Step11.localActive,controller.Step11.active,controller.Step10.oldActive,$PRE.controller.Step10.oldActive,controller.Step10.newActive,$PRE.controller.Step10.newActive,controller.Step10.localActive,$PRE.controller.Step10.localActive,controller.Step10.active,controller.Step9.oldActive,$PRE.controller.Step9.oldActive,controller.Step9.newActive,$PRE.controller.Step9.newActive,controller.Step9.localActive,$PRE.controller.Step9.localActive,controller.Step9.active,controller.Step8.oldActive,$PRE.controller.Step8.oldActive,controller.Step8.newActive,$PRE.controller.Step8.newActive,controller.Step8.localActive,$PRE.controller.Step8.localActive,controller.Step8.active,controller.Step7.oldActive,$PRE.controller.Step7.oldActive,controller.Step7.newActive,$PRE.controller.Step7.newActive,controller.Step7.localActive,$PRE.controller.Step7.localActive,controller.Step7.active,controller.Transition7.t_start,$PRE.controller.Transition7.t_start,controller.Transition7.outPort.occupied,controller.Transition7.fire,controller.Transition7.enableFire,controller.Step6.oldActive,$PRE.controller.Step6.oldActive,controller.Step6.newActive,$PRE.controller.Step6.newActive,controller.Step6.localActive,$PRE.controller.Step6.localActive,controller.Step6.active,controller.Transition6.enableFire,controller.Transition6.localCondition,controller.Step5.oldActive,$PRE.controller.Step5.oldActive,controller.Step5.newActive,$PRE.controller.Step5.newActive,controller.Step5.localActive,$PRE.controller.Step5.localActive,controller.Step5.active,controller.Transition5.enableFire,controller.Step4.oldActive,$PRE.controller.Step4.oldActive,controller.Step4.newActive,$PRE.controller.Step4.newActive,controller.Step4.localActive,$PRE.controller.Step4.localActive,controller.Step4.active,controller.Transition4.enableFire,controller.Transition4.localCondition,controller.Step3.oldActive,$PRE.controller.Step3.oldActive,controller.Step3.newActive,$PRE.controller.Step3.newActive,controller.Step3.localActive,$PRE.controller.Step3.localActive,controller.Step3.active,controller.Transition3.t_start,$PRE.controller.Transition3.t_start,controller.Transition3.fire,controller.Transition3.enableFire,controller.Step2.oldActive,$PRE.controller.Step2.oldActive,controller.Step2.newActive,$PRE.controller.Step2.newActive,controller.Step2.localActive,$PRE.controller.Step2.localActive,controller.Step2.active,controller.Transition2.enableFire,controller.Transition2.localCondition,controller.Step1.oldActive,$PRE.controller.Step1.oldActive,controller.Step1.newActive,$PRE.controller.Step1.newActive,controller.Step1.localActive,$PRE.controller.Step1.localActive,controller.Step1.active,controller.Transition1.t_start,$PRE.controller.Transition1.t_start,controller.Transition1.fire,controller.Transition1.enableFire,controller.InitialStep1.oldActive,$PRE.controller.InitialStep1.oldActive,controller.InitialStep1.newActive,$PRE.controller.InitialStep1.newActive,controller.InitialStep1.localActive,$PRE.controller.InitialStep1.localActive,controller.InitialStep1.active,V15.openingGenerator.T,V15.openingGenerator.rate,V15.openingGenerator.endValue,V12.openingGenerator.T,V12.openingGenerator.rate,V12.openingGenerator.endValue,B5.heatTransfer.states[1].phase,B5.InnerTankBottom[1].m_flow_negative,$PRE.B5.InnerTankBottom[1].m_flow_negative,B5.InnerTankSide[1].m_flow_negative,$PRE.B5.InnerTankSide[1].m_flow_negative,B5.InnerTankTop[1].m_flow_negative,$PRE.B5.InnerTankTop[1].m_flow_negative,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,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 (not torn): 0 * Torn equation systems: 30 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 28 systems {(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,6), (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.002573/2.84, allocations: 1.075 MB / 1.507 GB, free: 360.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001711/2.841, allocations: 0.8299 MB / 1.508 GB, free: 360 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04515/2.887, allocations: 37.36 MB / 1.545 GB, free: 322.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03655/2.923, allocations: 31.76 MB / 1.576 GB, free: 290.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-05/2.923, allocations: 4 kB / 1.576 GB, free: 290.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004404/2.928, allocations: 2.527 MB / 1.578 GB, free: 287.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/2.929, allocations: 303.4 kB / 1.578 GB, free: 287.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005689/2.935, allocations: 0.597 MB / 1.579 GB, free: 287 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001629/2.937, allocations: 0.9176 MB / 1.58 GB, free: 286.1 MB / 0.8575 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530: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] = $cse99 * pipeB1B1.flowModel.nParallel 3/3 (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) 4/4 (1): pipeB1B1.flowModel.dps_fg[1] = (-2.0) * pipeB1B1.flowModel.Fs_p[1] / (2.0 * pipeB1B1.crossArea * pipeB1B1.flowModel.nParallel) 5/5 (1): pipeB1B1.flowModel.Fs_p[1] = pipeB1B1.flowModel.nParallel * pipeB1B1.crossArea * (pipeB1B1.flowModel.states[2].p - pipeB1B1.flowModel.states[1].p) 6/6 (16): $cse98 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeB1B1.flowModel.states[2].p, volume4.medium.h, 0, 0) 7/22 (1): pipeB1B1.flowModel.rhos[2] = $cse98.rho 8/23 (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) 9/24 (1): pipeB1B1.flowModel.states[2].T = $cse98.T 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): $cse97 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeB1B1.flowModel.states[1].p, B3.medium.h, 0, 0) 13/43 (1): pipeB1B1.flowModel.rhos[1] = $cse97.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 = $cse97.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 = 1e8 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 3: pipeB1B1.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 4: $cse97.dpT:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse97.h:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse97.pt:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse97.s:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse97.rho:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse97.phase:DISCRETE(protected = true ) type: Integer unreplaceable 10: $cse97.R_s:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse97.x:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse97.cp:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse97.T:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse97.p:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse97.pd:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse97.cv:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse97.vp:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse97.vt:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse97.region:DISCRETE(protected = true ) type: Integer unreplaceable 20: pipeB1B1.flowModel.states[1].p:VARIABLE(min = 611.657 max = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "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.states[2].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [2] 23: pipeB1B1.flowModel.mus[2]:VARIABLE(min = 0.0 max = 1e8 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 24: pipeB1B1.flowModel.rhos[2]:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 25: $cse98.x:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse98.s:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse98.cv:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse98.pd:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse98.rho:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse98.T:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse98.cp:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse98.R_s:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse98.pt:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse98.vp:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse98.h:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse98.phase:DISCRETE(protected = true ) type: Integer unreplaceable 37: $cse98.dpT:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse98.vt:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse98.region:DISCRETE(protected = true ) type: Integer unreplaceable 40: $cse98.p:VARIABLE(protected = true ) type: Real unreplaceable 41: pipeB1B1.flowModel.states[2].p:VARIABLE(min = 611.657 max = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "Pressure" type: Real [2] 42: pipeB1B1.flowModel.Fs_p[1]:VARIABLE(unit = "N" ) "Pressure forces" type: Real [1] 43: pipeB1B1.flowModel.dps_fg[1]:VARIABLE(start = 0.0 unit = "Pa" ) "Pressure drop between states" type: Real [1] 44: $cse99:VARIABLE(protected = true ) type: Real unreplaceable 45: pipeB1B1.flowModel.m_flows[1]:VARIABLE(min = -1e5 max = 1e5 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:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002595/2.939, allocations: 2.929 MB / 1.583 GB, free: 283.1 MB / 0.8575 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater could not be translated