Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 252 MB / 267 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001196, allocations: 183.5 kB / 326.6 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 0.5777 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007552/0.0007552, allocations: 96.28 kB / 0.6823 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 10.75 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 106.3 MB / 0.9003 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.7443/0.9677, allocations: 238.2 MB / 1.133 GB, free: 3.137 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02781/0.9955, allocations: 18.51 MB / 1.151 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004731/1, allocations: 78.97 kB / 1.151 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003866/1.004, allocations: 0.9483 MB / 1.152 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/1.016, allocations: 2.981 MB / 1.155 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01102/1.027, allocations: 2.907 MB / 1.158 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01026/1.037, allocations: 6.798 MB / 1.164 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003701/1.041, allocations: 1.579 MB / 1.166 GB, free: 300 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006115/1.047, allocations: 2.208 MB / 1.168 GB, free: 0 / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004782/1.052, allocations: 1.767 MB / 1.17 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0009924/1.053, allocations: 92.72 kB / 1.17 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00808/1.061, allocations: 2.487 MB / 1.172 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001772/1.062, allocations: 0.7287 MB / 1.173 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001782/1.064, allocations: 0.5199 MB / 1.174 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007135/1.071, allocations: 3.618 MB / 1.177 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.071, allocations: 0 / 1.177 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.795e-06/1.071, allocations: 0 / 1.177 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001654/1.072, allocations: 0 / 1.177 GB, free: 12.49 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.006939/1.079, allocations: 2.736 MB / 1.18 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.079, allocations: 8.906 kB / 1.18 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007241/1.079, allocations: 221.4 kB / 1.18 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005381/1.085, allocations: 0.8058 MB / 1.181 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004674/1.089, allocations: 1.735 MB / 1.182 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004585/1.09, allocations: 190.2 kB / 1.183 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005354/1.091, allocations: 168.3 kB / 1.183 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/1.095, allocations: 1.886 MB / 1.185 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/1.095, allocations: 3.156 kB / 1.185 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/1.095, allocations: 62.66 kB / 1.185 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/1.096, allocations: 58.03 kB / 1.185 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/1.1, allocations: 1.623 MB / 1.186 GB, free: 8.18 MB / 0.7136 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.01469/1.114, allocations: 8.365 MB / 1.194 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/1.117, allocations: 1.822 MB / 1.196 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/1.119, allocations: 0.6866 MB / 1.197 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005788/1.119, allocations: 242.1 kB / 1.197 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/1.121, allocations: 0.7073 MB / 1.198 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00135/1.122, allocations: 112.1 kB / 1.198 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=101): time 7.143e-06/1.123, allocations: 0 / 1.198 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=104): time 0.01058/1.133, allocations: 3.736 MB / 1.202 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/1.133, allocations: 149.5 kB / 1.202 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/1.136, allocations: 1.609 MB / 1.203 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/1.137, allocations: 53.7 kB / 1.203 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.138, allocations: 0.9674 MB / 1.204 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000474/1.138, allocations: 362 kB / 1.205 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/1.138, allocations: 24 kB / 1.205 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.139, allocations: 353.9 kB / 1.205 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/1.14, allocations: 0.5647 MB / 1.206 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/1.141, allocations: 0.9342 MB / 1.206 GB, free: 5.43 MB / 0.7292 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/1.154, allocations: 2.693 MB / 1.209 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/1.154, allocations: 4 kB / 1.209 GB, free: 2.715 MB / 0.7292 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