Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_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.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007818/0.0007818, allocations: 99.86 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.0008167/0.0008167, 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.152/1.152, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 267.2 kB / 291.2 MB, free: 1.891 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.7208/0.7208, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 16.78 kB / 0.5683 GB, free: 38.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 83.08 MB / 0.6494 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.4183/0.5349, allocations: 212.9 MB / 0.8573 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.5527, allocations: 16.07 MB / 0.873 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.5551, allocations: 75.5 kB / 0.8731 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.5579, allocations: 1.21 MB / 0.8743 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009304/0.5672, allocations: 3.8 MB / 0.878 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005275/0.5725, allocations: 2.23 MB / 0.8801 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004889/0.5774, allocations: 3.396 MB / 0.8835 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.5792, allocations: 1.574 MB / 0.885 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003148/0.5824, allocations: 1.987 MB / 0.8869 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.5836, allocations: 1.161 MB / 0.8881 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.5839, allocations: 94.06 kB / 0.8882 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.5878, allocations: 2.023 MB / 0.8901 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005462/0.5883, allocations: 0.6497 MB / 0.8908 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.5888, allocations: 0.5135 MB / 0.8913 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.592, allocations: 3.282 MB / 0.8945 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.592, allocations: 0 / 0.8945 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.592, allocations: 0 / 0.8945 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.382e-05/0.592, allocations: 0 / 0.8945 GB, free: 0.8555 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.004128/0.5962, allocations: 2.631 MB / 0.897 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.5962, allocations: 8.031 kB / 0.8971 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004937/0.6012, allocations: 0.914 MB / 0.8979 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.6044, allocations: 1.802 MB / 0.8997 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.6047, allocations: 186.9 kB / 0.8999 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.605, allocations: 164 kB / 0.9 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/0.608, allocations: 1.861 MB / 0.9019 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.6081, allocations: 6.344 kB / 0.9019 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.6082, allocations: 67.98 kB / 0.9019 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.6083, allocations: 58.89 kB / 0.902 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.6116, allocations: 1.675 MB / 0.9036 GB, free: 7.367 MB / 0.5919 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.009731/0.6213, allocations: 8.435 MB / 0.9119 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.6241, allocations: 1.913 MB / 0.9137 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/0.6245, allocations: 160.5 kB / 0.9139 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.6259, allocations: 0.7195 MB / 0.9146 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005301/0.6264, allocations: 119.1 kB / 0.9147 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 2.635e-06/0.6265, allocations: 0 / 0.9147 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105): time 0.008225/0.6347, allocations: 3.901 MB / 0.9185 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.6347, allocations: 62.94 kB / 0.9186 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.6365, allocations: 1.568 MB / 0.9201 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-05/0.6366, allocations: 57.7 kB / 0.9202 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/0.6373, allocations: 0.96 MB / 0.9211 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.6375, allocations: 370.7 kB / 0.9214 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.6376, allocations: 24 kB / 0.9215 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6378, allocations: 349.9 kB / 0.9218 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.639, allocations: 0.5842 MB / 0.9224 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.6404, allocations: 0.9166 MB / 0.9233 GB, free: 2.238 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/0.6532, allocations: 3.423 MB / 0.9266 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6532, allocations: 0 / 0.9266 GB, free: 14.79 MB / 0.6231 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