Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneFourElements.TAir|thermalZoneFourElements.volAir.C.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneFourElements.TAir|thermalZoneFourElements.volAir.C.1.",fileNamePrefix="Buildings_latest_Buildings.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.001176/0.001176, allocations: 102.7 kB / 15.71 MB, free: 460 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.002181/0.002181, allocations: 175.6 kB / 16.58 MB, free: 6.863 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.5/1.5, allocations: 223.2 MB / 240.6 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.929/2.929, allocations: 436.7 MB / 0.7113 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004243, allocations: 12 kB / 0.8717 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.079, allocations: 153.7 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2338/1.313, allocations: 184.1 MB / 1.202 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0307/1.344, allocations: 14.37 MB / 1.216 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00696/1.351, allocations: 83.5 kB / 1.216 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004077/1.355, allocations: 1.077 MB / 1.217 GB, free: 8.93 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/ThermalZones/ReducedOrder/RC/OneElement.mo:239:18-239:27:writable] Warning: 'each' used when modifying non-array element k. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/ThermalZones/ReducedOrder/RC/OneElement.mo:240:18-240:29:writable] Warning: 'each' used when modifying non-array element u. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/ThermalZones/ReducedOrder/RC/OneElement.mo:241:18-241:26:writable] Warning: 'each' used when modifying non-array element y. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/ThermalZones/ReducedOrder/RC/OneElement.mo:245:18-245:27:writable] Warning: 'each' used when modifying non-array element k. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/ThermalZones/ReducedOrder/RC/OneElement.mo:246:18-246:29:writable] Warning: 'each' used when modifying non-array element u. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/ThermalZones/ReducedOrder/RC/OneElement.mo:247:18-247:26:writable] Warning: 'each' used when modifying non-array element y. Notification: Performance of NFTyping.typeBindings: time 0.009089/1.364, allocations: 2.148 MB / 1.219 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006595/1.371, allocations: 1.615 MB / 1.22 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01215/1.383, allocations: 6.759 MB / 1.227 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008215/1.391, allocations: 4.06 MB / 1.231 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006702/1.398, allocations: 1.906 MB / 1.233 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007855/1.406, allocations: 2.482 MB / 1.235 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002783/1.409, allocations: 164 kB / 1.235 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007157/1.416, allocations: 0.9945 MB / 1.236 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003441/1.42, allocations: 1.113 MB / 1.237 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003008/1.423, allocations: 0.8779 MB / 1.238 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/1.433, allocations: 6.036 MB / 1.244 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/1.433, allocations: 0 / 1.244 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.925e-06/1.433, allocations: 3.938 kB / 1.244 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003546/1.433, allocations: 0 / 1.244 GB, free: 12.65 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1080 * Number of variables: 1080 Notification: Performance of Generate backend data structure: time 0.01583/1.449, allocations: 5.09 MB / 1.249 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.449, allocations: 8.031 kB / 1.249 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/1.465, allocations: 3.13 MB / 1.252 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008504/1.473, allocations: 2.698 MB / 1.255 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004915/1.474, allocations: 324.4 kB / 1.255 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/1.476, allocations: 412 kB / 1.256 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9831/2.459, allocations: 6.448 MB / 1.262 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/2.459, allocations: 2.484 kB / 1.262 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009127/2.46, allocations: 171.7 kB / 1.262 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/2.46, allocations: 149.8 kB / 1.262 GB, free: 31.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/2.487, allocations: 7.596 MB / 1.27 GB, free: 31.16 MB / 0.9981 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.05682/2.544, allocations: 19.47 MB / 1.289 GB, free: 26.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/2.558, allocations: 5.131 MB / 1.294 GB, free: 26.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008505/2.567, allocations: 3.439 MB / 1.297 GB, free: 26.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/2.568, allocations: 0.6976 MB / 1.298 GB, free: 25.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009016/2.577, allocations: 3.183 MB / 1.301 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=366): time 1.012e-05/2.577, allocations: 0 / 1.301 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=368): time 0.05617/2.633, allocations: 16.92 MB / 1.317 GB, free: 23.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/2.633, allocations: 223.6 kB / 1.317 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006885/2.64, allocations: 3.025 MB / 1.32 GB, free: 22.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001296/2.642, allocations: 94.95 kB / 1.321 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00214/2.644, allocations: 1.737 MB / 1.322 GB, free: 22.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002439/2.646, allocations: 1.203 MB / 1.323 GB, free: 21.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/2.647, allocations: 70.41 kB / 1.323 GB, free: 21.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0004227/2.648, allocations: 433.1 kB / 1.324 GB, free: 21.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007058/2.655, allocations: 2.474 MB / 1.326 GB, free: 21.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009293/2.664, allocations: 2.835 MB / 1.329 GB, free: 20.58 MB / 0.9981 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.3379/3.002, allocations: 83.82 MB / 1.411 GB, free: 13.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/3.002, allocations: 0 / 1.411 GB, free: 13.17 MB / 1.061 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