Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) 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(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|u1ValIso.1..y|u1ValIso.2..y|enaParTwo.y1|enaSerTwo.y1|uValIso.1..y|uValIso.2..y|enaParMod.y1|enaSerMod.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|u1ValIso.1..y|u1ValIso.2..y|enaParTwo.y1|enaSerTwo.y1|uValIso.1..y|uValIso.2..y|enaParMod.y1|enaSerMod.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001118/0.001118, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.104/1.104, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.156/2.156, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.504e-05, allocations: 2.281 kB / 1.055 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.002579/0.002605, allocations: 1.979 MB / 1.057 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.00506, allocations: 1.981 MB / 1.058 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.005364, allocations: 27.88 kB / 1.059 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.005654, allocations: 131 kB / 1.059 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.005763, allocations: 31.67 kB / 1.059 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.006522, allocations: 352.6 kB / 1.059 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009234/0.007455, allocations: 1.031 MB / 1.06 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.007945, allocations: 433.2 kB / 1.06 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.008224, allocations: 251.4 kB / 1.061 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.008494, allocations: 231.2 kB / 1.061 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.256e-05/0.008586, allocations: 60 kB / 1.061 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.008708, allocations: 67.98 kB / 1.061 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0003748/0.00909, allocations: 0.5919 MB / 1.062 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001749/0.009272, allocations: 339.2 kB / 1.062 GB, free: 272 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.009358, allocations: 55.81 kB / 1.062 GB, free: 216 kB / 0.8262 GB Notification: Performance of FrontEnd: time 4.795e-05/0.009413, allocations: 31.75 kB / 1.062 GB, free: 184 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 (91) * Number of variables: 108 (66) Notification: Performance of Bindings: time 0.001631/0.01105, allocations: 1.857 MB / 1.064 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.13e-05/0.01114, allocations: 75.89 kB / 1.064 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001256/0.0124, allocations: 1.494 MB / 1.065 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simplify1: time 6.581e-05/0.01247, allocations: 55.92 kB / 1.065 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Alias: time 0.001176/0.01365, allocations: 1.207 MB / 1.067 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simplify2: time 4.84e-05/0.01371, allocations: 43.94 kB / 1.067 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of Events: time 0.0003899/0.01411, allocations: 378.6 kB / 1.067 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0006433/0.01476, allocations: 0.5989 MB / 1.068 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0004803/0.01525, allocations: 0.5025 MB / 1.068 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002858/0.01811, allocations: 3.071 MB / 1.071 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001187/0.01931, allocations: 1.409 MB / 1.072 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of Inline: time 0.001993/0.02131, allocations: 2.318 MB / 1.075 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.874e-05/0.02141, allocations: 99.5 kB / 1.075 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001075/0.02152, allocations: 95.86 kB / 1.075 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of Causalize: time 0.3767/0.3983, allocations: 5.944 MB / 1.081 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of Tearing: time 1.504e-05/0.3983, allocations: 4 kB / 1.081 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of Initialization: time 6.71e-07/0.3983, allocations: 1.062 kB / 1.081 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of Tearing: time 1.104e-05/0.3983, allocations: 1.906 kB / 1.081 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of Categorize: time 1.656e-05/0.3984, allocations: 4.359 kB / 1.081 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of Solve: time 0.0006156/0.399, allocations: 344.1 kB / 1.081 GB, free: 22.05 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.001214/0.4002, allocations: 1.314 MB / 1.082 GB, free: 21.7 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (1) {uValIso.y} * Number of discrete states: .................... 6 (5) {enaParMod.lat.y, enaParTwo.lat.y, enaSerMod.lat.y, enaSerTwo.lat.y, u1ValIso.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 94 (55) {enaSerTwo.u1ValIso, enaSerTwo.anyCloSer.u, enaSerTwo.anyCloSer.y, enaSerTwo.anyCloSer.uTemp, enaSerTwo.allOpeSer.u, enaSerTwo.allOpeSer.y, enaSerTwo.allOpeSer.uTemp, enaSerTwo.cloTwo.y, enaSerTwo.cloTwo.u, booToRea.u, enaSerMod.anyCloSer.u, enaSerMod.anyCloSer.y, enaSerMod.anyCloSer.uTemp, enaSerMod.allOpeSer.u, enaSerMod.allOpeSer.y, enaSerMod.allOpeSer.uTemp, enaSerMod.cloSerMod.lesNoHys.y, enaSerMod.cloSerMod.y, enaSerMod.opeSerMod.y, enaSerMod.opeSerMod.u, enaParTwo.u1ValIso, enaParTwo.anyOpePar.u, enaParTwo.anyOpePar.y, enaParTwo.anyOpePar.uTemp, enaParTwo.allCloPar.u, enaParTwo.allCloPar.y, enaParTwo.allCloPar.uTemp, enaParTwo.cloTwo.y, enaParTwo.cloTwo.u, enaParMod.anyOpePar.u, enaParMod.anyOpePar.y, enaParMod.anyOpePar.uTemp, enaParMod.allCloPar.u, enaParMod.allCloPar.y, enaParMod.allCloPar.uTemp, enaParMod.cloParMod.y, enaParMod.cloParMod.u, enaParMod.opeParMod.greNoHys.y, enaParMod.opeParMod.y, $SEV_28[$i1], $SEV_27[$i1], $SEV_26, $SEV_25, $SEV_24[$i1], $SEV_23[$i1], $SEV_22, $SEV_21, $SEV_20[$i1], $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15[$i1], $SEV_14[$i1], $SEV_13[$i1]} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 73 (scalar:66, array:7, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 18 (generic: 18, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 77 (scalar:70, array:7, record:0) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 24 (generic: 24, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.9e-05/0.4003, allocations: 65.56 kB / 1.082 GB, free: 21.68 MB / 0.8419 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFScalarize.mo:213:5-213:103:writable] Error: Internal error NFScalarize.scalarizeBackendVariable failed for: parameter Real[2] u1ValIso.period = {({1200, 1800})[$u1ValIso1] for $u1ValIso1 in 1:2}