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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.00178, allocations: 99.55 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.002807/0.002807, 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.936/1.936, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 274.1 kB / 291.2 MB, free: 1.918 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 1.343/1.343, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006076/0.0006076, allocations: 11.5 kB / 0.5684 GB, free: 38.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2561, allocations: 83.08 MB / 0.6495 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.9161/1.172, allocations: 209.2 MB / 0.8538 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02248/1.195, allocations: 9.632 MB / 0.8633 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004333/1.199, allocations: 66.03 kB / 0.8633 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003974/1.203, allocations: 0.8589 MB / 0.8642 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.013/1.216, allocations: 2.787 MB / 0.8669 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007397/1.224, allocations: 1.76 MB / 0.8686 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006967/1.231, allocations: 2.452 MB / 0.871 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/1.233, allocations: 1.158 MB / 0.8721 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004604/1.237, allocations: 1.471 MB / 0.8736 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/1.241, allocations: 0.8181 MB / 0.8744 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004944/1.241, allocations: 63.34 kB / 0.8744 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00703/1.248, allocations: 1.621 MB / 0.876 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/1.249, allocations: 440.2 kB / 0.8764 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/1.25, allocations: 397.8 kB / 0.8768 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006628/1.257, allocations: 2.374 MB / 0.8791 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.257, allocations: 0 / 0.8791 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.208e-06/1.257, allocations: 0 / 0.8791 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.913e-05/1.257, allocations: 0 / 0.8791 GB, free: 9.66 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.006835/1.264, allocations: 2.112 MB / 0.8812 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/1.264, allocations: 11.03 kB / 0.8812 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004654/1.265, allocations: 170.4 kB / 0.8814 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/1.269, allocations: 0.6571 MB / 0.882 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/1.273, allocations: 1.314 MB / 0.8833 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/1.273, allocations: 157.2 kB / 0.8834 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/1.273, allocations: 127.9 kB / 0.8835 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/1.276, allocations: 1.429 MB / 0.8849 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/1.276, allocations: 3.188 kB / 0.8849 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/1.276, allocations: 46.5 kB / 0.885 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/1.276, allocations: 45.55 kB / 0.885 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/1.279, allocations: 1.204 MB / 0.8862 GB, free: 6.512 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.00911/1.288, allocations: 5.71 MB / 0.8918 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/1.29, allocations: 1.07 MB / 0.8928 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/1.291, allocations: 157.7 kB / 0.893 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/1.293, allocations: 0.5681 MB / 0.8935 GB, free: 308 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 4.969e-06/1.293, allocations: 0 / 0.8935 GB, free: 308 kB / 0.5762 GB Notification: Performance of matching and sorting (n=92): time 0.01128/1.304, allocations: 3.655 MB / 0.8971 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/1.304, allocations: 94.09 kB / 0.8972 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/1.307, allocations: 1.329 MB / 0.8985 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001628/1.307, allocations: 53.69 kB / 0.8985 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007598/1.308, allocations: 0.7213 MB / 0.8992 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/1.308, allocations: 315.3 kB / 0.8995 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/1.308, allocations: 20 kB / 0.8996 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.308, allocations: 353.9 kB / 0.8999 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.309, allocations: 453.8 kB / 0.9003 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/1.311, allocations: 0.6689 MB / 0.901 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/1.325, allocations: 2.535 MB / 0.9035 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/1.325, allocations: 4 kB / 0.9035 GB, free: 5.863 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