Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001128/0.001128, allocations: 111.4 kB / 16.42 MB, free: 6.023 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.001107/0.001107, allocations: 190.6 kB / 17.36 MB, free: 5.613 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.155/1.155, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.27/2.27, allocations: 469.8 MB / 0.7432 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.457e-05, allocations: 2.281 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.002706/0.002731, allocations: 1.973 MB / 1.068 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.00505, allocations: 1.977 MB / 1.07 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.005242, allocations: 31.81 kB / 1.07 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.005531, allocations: 139 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.802e-05/0.005626, allocations: 27.72 kB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.006323, allocations: 350.5 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008585/0.007191, allocations: 1.023 MB / 1.071 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.007539, allocations: 265.4 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.007755, allocations: 263.4 kB / 1.072 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.007986, allocations: 239.2 kB / 1.072 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.008069, allocations: 52 kB / 1.072 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.008186, allocations: 71.98 kB / 1.072 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0003611/0.008554, allocations: 0.5879 MB / 1.073 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001623/0.008721, allocations: 343.2 kB / 1.073 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.008794, allocations: 59.81 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.072e-05/0.008839, allocations: 19.81 kB / 1.073 GB, free: 6.23 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.001314/0.01016, allocations: 1.388 MB / 1.074 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.915e-05/0.01023, allocations: 91.8 kB / 1.074 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0009894/0.01123, allocations: 1.116 MB / 1.076 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001693/0.01141, allocations: 175.4 kB / 1.076 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of Alias: time 0.0008404/0.01225, allocations: 0.7928 MB / 1.076 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001539/0.01242, allocations: 167.5 kB / 1.077 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0005319/0.01296, allocations: 393.2 kB / 1.077 GB, free: 1.793 MB / 0.8419 GB Notification: Performance of Events: time 0.0003798/0.01334, allocations: 355.1 kB / 1.077 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003469/0.0137, allocations: 346.6 kB / 1.078 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of Causalize: time 0.3941/0.4078, allocations: 2.396 MB / 1.08 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0009368/0.4088, allocations: 1.028 MB / 1.081 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of Inline: time 0.001649/0.4104, allocations: 1.79 MB / 1.083 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.066e-05/0.4105, allocations: 34.47 kB / 1.083 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0002403/0.4107, allocations: 325.9 kB / 1.083 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Causalize: time 0.004544/0.4153, allocations: 4.483 MB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of Tearing: time 1.214e-05/0.4153, allocations: 0 / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of Initialization: time 9.82e-07/0.4153, allocations: 1.031 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of Tearing: time 5.981e-06/0.4153, allocations: 1.156 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of Categorize: time 1.144e-05/0.4154, allocations: 6.578 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of Solve: time 0.0004383/0.4158, allocations: 269.6 kB / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.001011/0.4168, allocations: 1.036 MB / 1.089 GB, free: 13.75 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 5.97e-05/0.4169, allocations: 72.88 kB / 1.089 GB, free: 13.73 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}