Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000856/0.000856, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.0008418/0.0008418, allocations: 181.3 kB / 15.95 MB, free: 220 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.167/1.167, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001622/0.001622, allocations: 270.8 kB / 291.3 MB, free: 1.797 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.7179/0.7179, allocations: 144.6 MB / 487 MB, free: 7.219 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 12.5 kB / 0.5683 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 83.09 MB / 0.6494 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.4171/0.5432, allocations: 167.6 MB / 0.8131 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01815/0.5614, allocations: 13.96 MB / 0.8268 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.565, allocations: 82.47 kB / 0.8269 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.5677, allocations: 1.274 MB / 0.8281 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008693/0.5764, allocations: 3.11 MB / 0.8311 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.5817, allocations: 2.127 MB / 0.8332 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005656/0.5873, allocations: 4.094 MB / 0.8372 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003893/0.5912, allocations: 3.99 MB / 0.8411 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.5934, allocations: 1.747 MB / 0.8428 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.5955, allocations: 2.056 MB / 0.8448 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003343/0.5958, allocations: 157.6 kB / 0.845 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.598, allocations: 0.9144 MB / 0.8459 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007395/0.5988, allocations: 1.032 MB / 0.8469 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006866/0.5995, allocations: 0.8345 MB / 0.8477 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00438/0.6038, allocations: 5.735 MB / 0.8533 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6039, allocations: 0 / 0.8533 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6039, allocations: 1.859 kB / 0.8533 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001256/0.604, allocations: 0 / 0.8533 GB, free: 12.23 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008528/0.6125, allocations: 4.799 MB / 0.858 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6126, allocations: 11.36 kB / 0.858 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.6259, allocations: 3.109 MB / 0.861 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.6313, allocations: 2.595 MB / 0.8636 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.6315, allocations: 309.8 kB / 0.8638 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006603/0.6322, allocations: 402.7 kB / 0.8642 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.6436, allocations: 6.217 MB / 0.8703 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.556e-05/0.6437, allocations: 3.906 kB / 0.8703 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.644, allocations: 169.9 kB / 0.8705 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.6441, allocations: 148 kB / 0.8706 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/0.6587, allocations: 7.41 MB / 0.8778 GB, free: 14.66 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.02934/0.688, allocations: 18.94 MB / 0.8963 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008505/0.6966, allocations: 4.82 MB / 0.9011 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007134/0.6973, allocations: 0.5164 MB / 0.9016 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00532/0.7026, allocations: 2.931 MB / 0.9044 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=345): time 4.92e-06/0.7027, allocations: 0 / 0.9044 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=347): time 0.03489/0.7376, allocations: 16.21 MB / 0.9202 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.7377, allocations: 217.6 kB / 0.9205 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.7417, allocations: 2.881 MB / 0.9233 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003027/0.742, allocations: 91.75 kB / 0.9234 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.7435, allocations: 1.687 MB / 0.925 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009877/0.7445, allocations: 1.155 MB / 0.9261 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.7448, allocations: 59.75 kB / 0.9262 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.745, allocations: 426.1 kB / 0.9266 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004676/0.7497, allocations: 2.324 MB / 0.9289 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004939/0.7546, allocations: 2.675 MB / 0.9315 GB, free: 3.195 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.33/1.085, allocations: 83.34 MB / 1.013 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.085, allocations: 4 kB / 1.013 GB, free: 15.72 MB / 0.7169 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