Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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=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_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_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.001096/0.001096, allocations: 106.6 kB / 18.4 MB, free: 4.773 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.001109/0.001109, allocations: 190.1 kB / 19.33 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 47.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0729/0.07411, allocations: 46.61 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater): time 0.9645/1.039, allocations: 424 MB / 0.7811 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.09055/1.129, allocations: 93.03 MB / 0.8719 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008246/1.138, allocations: 232.8 kB / 0.8721 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/1.148, allocations: 4.595 MB / 0.8766 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.04929/1.197, allocations: 20.28 MB / 0.8964 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0396/1.237, allocations: 17.26 MB / 0.9133 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02973/1.266, allocations: 24.23 MB / 0.937 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/1.278, allocations: 7.341 MB / 0.9441 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01586/1.293, allocations: 8.973 MB / 0.9529 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07814/1.372, allocations: 37.57 MB / 0.9896 GB, free: 1.922 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003087/1.375, allocations: 1.027 MB / 0.9906 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04117/1.416, allocations: 17.48 MB / 1.008 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00526/1.421, allocations: 3.351 MB / 1.011 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.008784/1.43, allocations: 5.758 MB / 1.017 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.05301/1.483, allocations: 25.44 MB / 1.041 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.483, allocations: 0 / 1.041 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/1.483, allocations: 4 kB / 1.041 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003741/1.483, allocations: 0 / 1.041 GB, free: 14.59 MB / 0.7325 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.3475/1.831, allocations: 14.94 MB / 1.056 GB, free: 394.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.831, allocations: 9.922 kB / 1.056 GB, free: 394.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02462/1.856, allocations: 3.302 MB / 1.059 GB, free: 394.1 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/1.875, allocations: 10.74 MB / 1.07 GB, free: 391.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009289/1.876, allocations: 1.349 MB / 1.071 GB, free: 390.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/1.879, allocations: 0.868 MB / 1.072 GB, free: 390 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03022/1.909, allocations: 14.06 MB / 1.086 GB, free: 384.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/1.909, allocations: 39.53 kB / 1.086 GB, free: 384.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008415/1.91, allocations: 368.8 kB / 1.086 GB, free: 383.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004524/1.91, allocations: 0.5552 MB / 1.087 GB, free: 383.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02761/1.938, allocations: 12.91 MB / 1.099 GB, free: 377.4 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06329/2.001, allocations: 60.71 MB / 1.158 GB, free: 322.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0207/2.022, allocations: 10.27 MB / 1.168 GB, free: 312.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007282/2.029, allocations: 4.895 MB / 1.173 GB, free: 307.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1053/2.135, allocations: 55.58 MB / 1.228 GB, free: 246.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01755/2.152, allocations: 6.984 MB / 1.234 GB, free: 239.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00256/2.155, allocations: 0.6526 MB / 1.235 GB, free: 239.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=796): time 1.258e-05/2.155, allocations: 0 / 1.235 GB, free: 239.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=870): time 0.138/2.293, allocations: 46.58 MB / 1.28 GB, free: 192.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.9e-05/2.293, allocations: 316.2 kB / 1.281 GB, free: 192.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005277/2.298, allocations: 5.085 MB / 1.286 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007573/2.299, allocations: 253.7 kB / 1.286 GB, free: 187.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/2.301, allocations: 3.687 MB / 1.29 GB, free: 183.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001797/2.303, allocations: 2.988 MB / 1.292 GB, free: 181.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002516/2.305, allocations: 2.03 MB / 1.294 GB, free: 179.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/2.305, allocations: 309.1 kB / 1.295 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008241/2.314, allocations: 4.529 MB / 1.299 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009436/2.323, allocations: 6.624 MB / 1.306 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0173/2.34, allocations: 10.95 MB / 1.316 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-05/2.34, allocations: 16 kB / 1.316 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.02611/2.367, allocations: 14.03 MB / 1.33 GB, free: 140.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/2.367, allocations: 32.22 kB / 1.33 GB, free: 140.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-05/2.367, allocations: 60 kB / 1.33 GB, free: 140.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01109/2.378, allocations: 3.278 MB / 1.333 GB, free: 137.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008289/2.386, allocations: 2.044 MB / 1.335 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/2.403, allocations: 25.96 MB / 1.361 GB, free: 108 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007232/2.41, allocations: 475.7 kB / 1.361 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009725/2.411, allocations: 487.8 kB / 1.362 GB, free: 107 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009606/2.421, allocations: 5.872 MB / 1.367 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007852/2.429, allocations: 6.552 MB / 1.374 GB, free: 93.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0148/2.443, allocations: 10.76 MB / 1.384 GB, free: 82.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-05/2.443, allocations: 16 kB / 1.384 GB, free: 82.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1295) (initialization_lambda0): time 0.02611/2.47, allocations: 13.78 MB / 1.398 GB, free: 68.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/2.47, allocations: 28.19 kB / 1.398 GB, free: 68.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-05/2.47, allocations: 60 kB / 1.398 GB, free: 68.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007368/2.477, allocations: 2.489 MB / 1.4 GB, free: 65.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008169/2.485, allocations: 2.09 MB / 1.402 GB, free: 63.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0267/2.512, allocations: 35.81 MB / 1.437 GB, free: 25.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006877/2.519, allocations: 483.8 kB / 1.438 GB, free: 25.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000835/2.52, allocations: 483.8 kB / 1.438 GB, free: 24.55 MB / 0.7325 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,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,volume5.medium.phase,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.Step13.oldActive,$PRE.controller.Step13.oldActive,controller.Step13.newActive,$PRE.controller.Step13.newActive,controller.Step13.localActive,$PRE.controller.Step13.localActive,controller.Step13.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,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,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 (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,1), (1,1), (2,5), (1,1), (2,10), (1,1), (1,1), (1,1), (1,1), (2,5), (1,1), (2,14), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001841/2.522, allocations: 0.9154 MB / 1.439 GB, free: 23.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/2.523, allocations: 0.7842 MB / 1.44 GB, free: 22.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2191/2.742, allocations: 35.23 MB / 1.474 GB, free: 360.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03744/2.78, allocations: 30.03 MB / 1.504 GB, free: 347.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-05/2.78, allocations: 0 / 1.504 GB, free: 347.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004053/2.784, allocations: 2.393 MB / 1.506 GB, free: 346.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/2.785, allocations: 258 kB / 1.506 GB, free: 346.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004785/2.79, allocations: 0.509 MB / 1.507 GB, free: 346.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001544/2.792, allocations: 0.8081 MB / 1.507 GB, free: 346.5 MB / 0.7325 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.opening_min * V10.k * V10.dp 2/2 (1): V10.dp = pipeB1B1.flowModel.states[2].p - volume4.medium.p 3/3 (16): $cse96 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeB1B1.flowModel.states[2].p, volume4.medium.h, 0, 0) 4/19 (1): pipeB1B1.flowModel.rhos[2] = $cse96.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): $cse97 = 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.dps_fg[1] = (-2.0) * pipeB1B1.flowModel.Fs_p[1] / (2.0 * pipeB1B1.crossArea * pipeB1B1.flowModel.nParallel) 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 (16): $cse95 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipeB1B1.flowModel.states[1].p, B3.medium.h, 0, 0) 10/40 (1): pipeB1B1.flowModel.rhos[1] = $cse95.rho 11/41 (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) 12/42 (1): pipeB1B1.flowModel.states[1].T = $cse95.T 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] = $cse97 * pipeB1B1.flowModel.nParallel 15/45 (1): pipeB1B1.flowModel.states[2].T = $cse96.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: $cse97:VARIABLE(protected = true ) type: Real unreplaceable 3: pipeB1B1.flowModel.m_flows[1]:VARIABLE(min = -1e5 max = 1e5 start = 0.0 unit = "kg/s" ) "mass flow rates between states" type: Real [1] 4: pipeB1B1.flowModel.states[1].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [2] 5: pipeB1B1.flowModel.mus[1]:VARIABLE(min = 0.0 max = 1e8 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 6: pipeB1B1.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 7: $cse95.h:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse95.rho:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse95.dpT:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse95.x:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse95.vt:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse95.vp:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse95.region:DISCRETE(protected = true ) type: Integer unreplaceable 14: $cse95.T:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse95.pt:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse95.p:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse95.cp:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse95.R:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse95.s:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse95.cv:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse95.pd:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse95.phase:DISCRETE(protected = true ) type: Integer unreplaceable 23: pipeB1B1.flowModel.states[1].p:VARIABLE(min = 611.657 max = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "Pressure" type: Real [2] 24: pipeB1B1.flowModel.Fs_p[1]:VARIABLE(unit = "N" ) "Pressure forces" type: Real [1] 25: pipeB1B1.flowModel.dps_fg[1]:VARIABLE(start = 0.0 unit = "Pa" ) "pressure drop between states" type: Real [1] 26: pipeB1B1.flowModel.mus[2]:VARIABLE(min = 0.0 max = 1e8 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 27: pipeB1B1.flowModel.rhos[2]:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 28: $cse96.s:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse96.region:DISCRETE(protected = true ) type: Integer unreplaceable 30: $cse96.h:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse96.x:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse96.T:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse96.vp:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse96.p:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse96.rho:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse96.cv:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse96.R:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse96.dpT:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse96.cp:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse96.pt:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse96.vt:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse96.pd:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse96.phase:DISCRETE(protected = true ) type: Integer unreplaceable 44: pipeB1B1.flowModel.states[2].p:VARIABLE(min = 611.657 max = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "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:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00267/2.794, allocations: 2.087 MB / 1.509 GB, free: 345.5 MB / 0.7325 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