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.0007813/0.0007814, allocations: 99.91 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009383/0.0009381, allocations: 174.7 kB / 16.58 MB, free: 6.422 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.539/1.539, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 266.1 kB / 292 MB, free: 1.988 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.915/0.915, allocations: 144.7 MB / 487.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004714, allocations: 12.19 kB / 0.5691 GB, free: 38.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2019, allocations: 83.08 MB / 0.6502 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.8038/1.006, allocations: 237.7 MB / 0.8823 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0286/1.034, allocations: 15.9 MB / 0.8978 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00496/1.039, allocations: 77.12 kB / 0.8979 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004311/1.044, allocations: 0.9213 MB / 0.8988 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/1.055, allocations: 2.932 MB / 0.9017 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007395/1.062, allocations: 1.864 MB / 0.9035 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01068/1.073, allocations: 6.667 MB / 0.91 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/1.077, allocations: 1.549 MB / 0.9115 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006328/1.083, allocations: 2.186 MB / 0.9137 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003971/1.087, allocations: 1.696 MB / 0.9153 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005766/1.088, allocations: 92 kB / 0.9154 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007364/1.095, allocations: 2.374 MB / 0.9177 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001555/1.097, allocations: 0.7124 MB / 0.9184 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/1.098, allocations: 0.5121 MB / 0.9189 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00664/1.105, allocations: 3.488 MB / 0.9223 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.105, allocations: 4 kB / 0.9223 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.765e-06/1.105, allocations: 4 kB / 0.9223 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.513e-05/1.105, allocations: 0 / 0.9223 GB, free: 8.578 MB / 0.6075 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.005771/1.11, allocations: 2.694 MB / 0.925 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.111, allocations: 8.031 kB / 0.925 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/1.116, allocations: 0.9062 MB / 0.9259 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004008/1.12, allocations: 1.768 MB / 0.9276 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003573/1.12, allocations: 194.9 kB / 0.9278 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002935/1.121, allocations: 160 kB / 0.9279 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/1.124, allocations: 1.887 MB / 0.9298 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/1.124, allocations: 3.906 kB / 0.9298 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/1.124, allocations: 56 kB / 0.9298 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/1.124, allocations: 62.88 kB / 0.9299 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/1.128, allocations: 1.69 MB / 0.9315 GB, free: 14.96 MB / 0.6231 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.0121/1.14, allocations: 8.437 MB / 0.9398 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/1.143, allocations: 1.916 MB / 0.9416 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/1.144, allocations: 0.7215 MB / 0.9423 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/1.145, allocations: 243.1 kB / 0.9426 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/1.146, allocations: 0.7352 MB / 0.9433 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001123/1.148, allocations: 123.1 kB / 0.9434 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=102): time 2.976e-06/1.148, allocations: 3.938 kB / 0.9434 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=105): time 0.01027/1.158, allocations: 3.911 MB / 0.9472 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/1.158, allocations: 68.41 kB / 0.9473 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/1.161, allocations: 1.576 MB / 0.9488 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001889/1.161, allocations: 53.69 kB / 0.9489 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009685/1.162, allocations: 0.9522 MB / 0.9498 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/1.162, allocations: 366.6 kB / 0.9502 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/1.162, allocations: 32 kB / 0.9502 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.162, allocations: 353.9 kB / 0.9505 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/1.164, allocations: 0.5881 MB / 0.9511 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/1.165, allocations: 0.9272 MB / 0.952 GB, free: 8.848 MB / 0.6387 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.01282/1.178, allocations: 3.431 MB / 0.9554 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/1.178, allocations: 4 kB / 0.9554 GB, free: 5.383 MB / 0.6387 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