Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.000832, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008811/0.0008811, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 223.2 MB / 239.9 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001593/0.001593, allocations: 275 kB / 291.2 MB, free: 1.762 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7275/0.7275, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 12.67 kB / 0.5683 GB, free: 38.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 83.09 MB / 0.6494 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.4328/0.5586, allocations: 209.2 MB / 0.8537 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.57, allocations: 9.629 MB / 0.8631 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.5716, allocations: 64.19 kB / 0.8632 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.5737, allocations: 0.8626 MB / 0.864 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006244/0.58, allocations: 2.781 MB / 0.8668 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.5844, allocations: 1.765 MB / 0.8685 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003183/0.5876, allocations: 2.452 MB / 0.8709 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.5888, allocations: 1.159 MB / 0.872 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.5911, allocations: 1.469 MB / 0.8734 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007884/0.5919, allocations: 0.8195 MB / 0.8742 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.592, allocations: 61 kB / 0.8743 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.5948, allocations: 1.621 MB / 0.8759 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.5951, allocations: 441.8 kB / 0.8763 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.5954, allocations: 399 kB / 0.8767 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.5974, allocations: 2.376 MB / 0.879 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.5974, allocations: 0 / 0.879 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5974, allocations: 0 / 0.879 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.5974, allocations: 0 / 0.879 GB, free: 9.629 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.002864/0.6003, allocations: 2.113 MB / 0.8811 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.6003, allocations: 7.562 kB / 0.8811 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/0.6036, allocations: 0.6607 MB / 0.8817 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.6056, allocations: 1.306 MB / 0.883 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/0.6059, allocations: 160 kB / 0.8832 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.6061, allocations: 135.4 kB / 0.8833 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.6081, allocations: 1.414 MB / 0.8847 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.6081, allocations: 5.922 kB / 0.8847 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/0.6082, allocations: 49.03 kB / 0.8847 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/0.6083, allocations: 44.73 kB / 0.8848 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.6103, allocations: 1.207 MB / 0.8859 GB, free: 6.547 MB / 0.5762 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.006292/0.6166, allocations: 5.716 MB / 0.8915 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.6183, allocations: 1.065 MB / 0.8926 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.6187, allocations: 148.8 kB / 0.8927 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.6197, allocations: 0.5704 MB / 0.8933 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.415e-06/0.6197, allocations: 0 / 0.8933 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92): time 0.006937/0.6266, allocations: 3.652 MB / 0.8968 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.6267, allocations: 97 kB / 0.8969 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.6282, allocations: 1.338 MB / 0.8982 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.371e-05/0.6283, allocations: 45.69 kB / 0.8983 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005253/0.6289, allocations: 0.7213 MB / 0.899 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.6291, allocations: 319.3 kB / 0.8993 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.6292, allocations: 20 kB / 0.8993 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6293, allocations: 345.9 kB / 0.8996 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000867/0.6302, allocations: 461.7 kB / 0.9001 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.6312, allocations: 0.6686 MB / 0.9007 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/0.6414, allocations: 2.544 MB / 0.9032 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6415, allocations: 0 / 0.9032 GB, free: 6.078 MB / 0.5919 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated