Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 109 kB / 16.41 MB, free: 6.012 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.001444/0.001444, allocations: 192.9 kB / 17.35 MB, free: 5.625 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.512/2.512, allocations: 461.7 MB / 0.7352 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 67.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7632/0.7645, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05793/0.8225, allocations: 61.24 MB / 1.268 GB, free: 196 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.8385, allocations: 12 MB / 1.28 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.8404, allocations: 59.62 kB / 1.28 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.8425, allocations: 0.6791 MB / 1.28 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006057/0.8487, allocations: 1.97 MB / 1.282 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.8519, allocations: 1.206 MB / 1.284 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004434/0.8564, allocations: 3.087 MB / 1.287 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.8582, allocations: 1.103 MB / 1.288 GB, free: 12.01 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.8612, allocations: 1.335 MB / 1.289 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.8627, allocations: 0.8906 MB / 1.29 GB, free: 9.781 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.863, allocations: 116 kB / 1.29 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.8661, allocations: 1.462 MB / 1.291 GB, free: 8.203 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003969/0.8665, allocations: 294.8 kB / 1.292 GB, free: 7.914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.8675, allocations: 0.6997 MB / 1.292 GB, free: 7.211 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.8715, allocations: 2.292 MB / 1.295 GB, free: 4.914 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8715, allocations: 0 / 1.295 GB, free: 4.914 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8715, allocations: 0 / 1.295 GB, free: 4.914 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.511e-05/0.8716, allocations: 0 / 1.295 GB, free: 4.914 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00337/0.875, allocations: 1.719 MB / 1.296 GB, free: 3.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.875, allocations: 12.03 kB / 1.296 GB, free: 3.121 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.8772, allocations: 406.8 kB / 1.297 GB, free: 2.723 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.8795, allocations: 1.171 MB / 1.298 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.8795, allocations: 65.94 kB / 1.298 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.8797, allocations: 80 kB / 1.298 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.8818, allocations: 1.005 MB / 1.299 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.8818, allocations: 0 / 1.299 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.8819, allocations: 32 kB / 1.299 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/0.8819, allocations: 20 kB / 1.299 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.8842, allocations: 0.8625 MB / 1.3 GB, free: 15.38 MB / 1.029 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.006446/0.8907, allocations: 5.224 MB / 1.305 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.894, allocations: 0.7885 MB / 1.306 GB, free: 8.977 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006866/0.8947, allocations: 300.7 kB / 1.306 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/0.8954, allocations: 0.9024 MB / 1.307 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.8954, allocations: 38.56 kB / 1.307 GB, free: 7.527 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.604e-06/0.8954, allocations: 0 / 1.307 GB, free: 7.527 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.008123/0.9036, allocations: 1.871 MB / 1.309 GB, free: 5.625 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.9036, allocations: 59.41 kB / 1.309 GB, free: 5.555 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.9052, allocations: 1.079 MB / 1.31 GB, free: 4.461 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.608e-05/0.9053, allocations: 37.7 kB / 1.31 GB, free: 4.418 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.9057, allocations: 0.5234 MB / 1.31 GB, free: 3.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.9058, allocations: 157.8 kB / 1.311 GB, free: 3.734 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.9061, allocations: 134.1 kB / 1.311 GB, free: 3.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9062, allocations: 330 kB / 1.311 GB, free: 3.266 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008852/0.9071, allocations: 307.3 kB / 1.311 GB, free: 2.965 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.9082, allocations: 0.5329 MB / 1.312 GB, free: 2.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.9098, allocations: 0.7065 MB / 1.312 GB, free: 1.559 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.9098, allocations: 7.938 kB / 1.312 GB, free: 1.551 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003489/0.9133, allocations: 1.149 MB / 1.314 GB, free: 400 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.9134, allocations: 4 kB / 1.314 GB, free: 396 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.9134, allocations: 8 kB / 1.314 GB, free: 388 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.9146, allocations: 316.6 kB / 1.314 GB, free: 68 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.9152, allocations: 119.9 kB / 1.314 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.9166, allocations: 0.906 MB / 1.315 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.9177, allocations: 147.2 kB / 1.315 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.9178, allocations: 31.98 kB / 1.315 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001143/0.919, allocations: 0.5129 MB / 1.316 GB, free: 14.33 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001017/0.92, allocations: 0.529 MB / 1.316 GB, free: 13.7 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001574/0.9216, allocations: 0.7017 MB / 1.317 GB, free: 12.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.9216, allocations: 4 kB / 1.317 GB, free: 12.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00335/0.9249, allocations: 1.129 MB / 1.318 GB, free: 11.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.925, allocations: 8 kB / 1.318 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.925, allocations: 8 kB / 1.318 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.926, allocations: 304.7 kB / 1.318 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.9266, allocations: 127.8 kB / 1.318 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.9279, allocations: 0.8996 MB / 1.319 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.9291, allocations: 135.6 kB / 1.319 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.9292, allocations: 31.98 kB / 1.319 GB, free: 10.25 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.000223/0.9294, allocations: 212.7 kB / 1.32 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.9296, allocations: 118.5 kB / 1.32 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.9333, allocations: 1.1 MB / 1.321 GB, free: 8.809 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.9334, allocations: 3.984 kB / 1.321 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.9334, allocations: 0 / 1.321 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.9338, allocations: 263.5 kB / 1.321 GB, free: 8.527 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.9339, allocations: 8 kB / 1.321 GB, free: 8.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.9347, allocations: 67.91 kB / 1.321 GB, free: 8.453 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.9347, allocations: 36.33 kB / 1.321 GB, free: 8.418 MB / 1.045 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.002676/0.9374, allocations: 0.7753 MB / 1.322 GB, free: 7.637 MB / 1.045 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL could not be translated