Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 114.2 kB / 16.81 MB, free: 5.77 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.001887/0.001887, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.529/1.529, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.855/2.855, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 71.73 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3983, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07281/0.4711, allocations: 61.69 MB / 1.322 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01997/0.491, allocations: 12.03 MB / 1.334 GB, free: 3.004 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.4937, allocations: 59.62 kB / 1.334 GB, free: 2.945 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.4963, allocations: 0.7025 MB / 1.335 GB, free: 2.238 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006913/0.5032, allocations: 2.077 MB / 1.337 GB, free: 156 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.5068, allocations: 1.225 MB / 1.338 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004825/0.5117, allocations: 3.091 MB / 1.341 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.5133, allocations: 0.9207 MB / 1.342 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.5166, allocations: 1.362 MB / 1.343 GB, free: 9.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.5184, allocations: 0.9489 MB / 1.344 GB, free: 8.566 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.5186, allocations: 124 kB / 1.344 GB, free: 8.445 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.5216, allocations: 1.482 MB / 1.346 GB, free: 6.961 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003601/0.522, allocations: 306.7 kB / 1.346 GB, free: 6.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009479/0.5229, allocations: 0.7075 MB / 1.347 GB, free: 5.949 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00431/0.5273, allocations: 2.332 MB / 1.349 GB, free: 3.609 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5273, allocations: 0 / 1.349 GB, free: 3.609 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5273, allocations: 0 / 1.349 GB, free: 3.609 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.5273, allocations: 0 / 1.349 GB, free: 3.609 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00355/0.5308, allocations: 1.783 MB / 1.351 GB, free: 1.762 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5309, allocations: 12.03 kB / 1.351 GB, free: 1.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.5335, allocations: 463.5 kB / 1.351 GB, free: 1.297 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.536, allocations: 1.2 MB / 1.352 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/0.5361, allocations: 58.08 kB / 1.352 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.5362, allocations: 84 kB / 1.353 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.5386, allocations: 1.002 MB / 1.353 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.5386, allocations: 3.938 kB / 1.353 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.5387, allocations: 32 kB / 1.354 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.5387, allocations: 16 kB / 1.354 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/0.5414, allocations: 0.9368 MB / 1.354 GB, free: 13.88 MB / 1.076 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.007312/0.5487, allocations: 4.673 MB / 1.359 GB, free: 8.863 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004242/0.553, allocations: 0.9507 MB / 1.36 GB, free: 7.906 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.5541, allocations: 389.8 kB / 1.36 GB, free: 7.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.5552, allocations: 1.009 MB / 1.361 GB, free: 6.289 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.5553, allocations: 43 kB / 1.361 GB, free: 6.238 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.375e-06/0.5553, allocations: 3.938 kB / 1.361 GB, free: 6.234 MB / 1.076 GB Notification: Performance of matching and sorting (n=53): time 0.008252/0.5635, allocations: 1.909 MB / 1.363 GB, free: 4.297 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.5636, allocations: 59.84 kB / 1.363 GB, free: 4.227 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.5651, allocations: 0.9514 MB / 1.364 GB, free: 3.258 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.544e-05/0.5652, allocations: 37.7 kB / 1.364 GB, free: 3.215 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/0.5657, allocations: 0.5125 MB / 1.365 GB, free: 2.699 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.5659, allocations: 198.3 kB / 1.365 GB, free: 2.504 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.5661, allocations: 122.2 kB / 1.365 GB, free: 2.379 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5663, allocations: 330 kB / 1.365 GB, free: 2.051 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.5674, allocations: 358.8 kB / 1.366 GB, free: 1.695 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.5687, allocations: 0.503 MB / 1.366 GB, free: 1.133 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/0.5709, allocations: 0.7502 MB / 1.367 GB, free: 360 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5709, allocations: 3.938 kB / 1.367 GB, free: 356 kB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003255/0.5741, allocations: 1.046 MB / 1.368 GB, free: 15.29 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.5741, allocations: 16.02 kB / 1.368 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5741, allocations: 7.938 kB / 1.368 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.5755, allocations: 304.5 kB / 1.368 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.5762, allocations: 127.8 kB / 1.368 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.5778, allocations: 0.8996 MB / 1.369 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.5788, allocations: 119.6 kB / 1.369 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/0.5789, allocations: 31.97 kB / 1.369 GB, free: 13.77 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001433/0.5803, allocations: 0.5543 MB / 1.37 GB, free: 13.21 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001252/0.5816, allocations: 0.5029 MB / 1.37 GB, free: 12.64 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002148/0.5837, allocations: 0.7462 MB / 1.371 GB, free: 11.87 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.5837, allocations: 0 / 1.371 GB, free: 11.87 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003158/0.5869, allocations: 1.045 MB / 1.372 GB, free: 10.81 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5869, allocations: 4 kB / 1.372 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.5869, allocations: 4 kB / 1.372 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.5881, allocations: 295.7 kB / 1.372 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.5887, allocations: 139.8 kB / 1.373 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.5902, allocations: 0.8918 MB / 1.373 GB, free: 9.457 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.5913, allocations: 111.7 kB / 1.374 GB, free: 9.348 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/0.5914, allocations: 23.98 kB / 1.374 GB, free: 9.324 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.5916, allocations: 215 kB / 1.374 GB, free: 9.109 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.5919, allocations: 115.2 kB / 1.374 GB, free: 8.996 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.5952, allocations: 1.146 MB / 1.375 GB, free: 7.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.5952, allocations: 3.938 kB / 1.375 GB, free: 7.836 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5952, allocations: 4 kB / 1.375 GB, free: 7.832 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/0.5956, allocations: 276.1 kB / 1.375 GB, free: 7.543 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.5958, allocations: 15.95 kB / 1.375 GB, free: 7.527 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/0.5966, allocations: 79.91 kB / 1.375 GB, free: 7.449 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/0.5967, allocations: 32.52 kB / 1.375 GB, free: 7.414 MB / 1.092 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: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003447/0.6001, allocations: 0.8844 MB / 1.376 GB, free: 6.527 MB / 1.092 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated