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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001351/0.001351, allocations: 115 kB / 16.43 MB, free: 6.051 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.001352/0.001352, allocations: 186.8 kB / 17.36 MB, free: 5.617 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.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.193/2.193, allocations: 472.6 MB / 0.7459 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.256e-05, allocations: 2.281 kB / 1.07 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.002542/0.002565, allocations: 1.97 MB / 1.072 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.004791, allocations: 1.977 MB / 1.074 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.004967, allocations: 31.81 kB / 1.074 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.005234, allocations: 135 kB / 1.074 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.005323, allocations: 31.72 kB / 1.074 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.005987, allocations: 358.2 kB / 1.074 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008616/0.006858, allocations: 1.027 MB / 1.075 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004498/0.007316, allocations: 433.2 kB / 1.076 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.007533, allocations: 251.4 kB / 1.076 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.007775, allocations: 235.2 kB / 1.076 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.826e-05/0.00786, allocations: 56 kB / 1.076 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.007976, allocations: 75.92 kB / 1.076 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0003573/0.008339, allocations: 0.5918 MB / 1.077 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001555/0.008501, allocations: 339.2 kB / 1.077 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.008578, allocations: 55.81 kB / 1.077 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.274e-05/0.008627, allocations: 31.8 kB / 1.077 GB, free: 2.125 MB / 0.8419 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.001579/0.01021, allocations: 1.845 MB / 1.079 GB, free: 180 kB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.211e-05/0.01029, allocations: 87.81 kB / 1.079 GB, free: 92 kB / 0.8419 GB Notification: Performance of Early Inline: time 0.3661/0.3764, allocations: 1.481 MB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simplify1: time 7.596e-05/0.3765, allocations: 53.91 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Alias: time 0.001074/0.3776, allocations: 1.214 MB / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simplify2: time 4.145e-05/0.3777, allocations: 49.42 kB / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004298/0.3781, allocations: 0.5274 MB / 1.083 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of Events: time 0.0003478/0.3785, allocations: 368.4 kB / 1.083 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003987/0.3789, allocations: 0.5146 MB / 1.083 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002612/0.3815, allocations: 3.064 MB / 1.086 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001044/0.3825, allocations: 1.428 MB / 1.088 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of Inline: time 0.001798/0.3843, allocations: 2.323 MB / 1.09 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.823e-05/0.3844, allocations: 99.5 kB / 1.09 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of Cleanup: time 7.518e-05/0.3845, allocations: 92.02 kB / 1.09 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of Causalize: time 0.00555/0.3901, allocations: 5.965 MB / 1.096 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of Tearing: time 1.626e-05/0.3901, allocations: 0 / 1.096 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of Initialization: time 5.01e-07/0.3901, allocations: 1.312 kB / 1.096 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of Tearing: time 6.913e-06/0.3901, allocations: 4.984 kB / 1.096 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of Categorize: time 1.196e-05/0.3901, allocations: 3.281 kB / 1.096 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of Solve: time 0.0004871/0.3906, allocations: 346.9 kB / 1.096 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.001076/0.3917, allocations: 1.327 MB / 1.098 GB, free: 6.715 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 6.023e-05/0.3918, allocations: 76.12 kB / 1.098 GB, free: 6.684 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}