Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.00115/0.00115, allocations: 109.3 kB / 16.42 MB, free: 6.449 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.001197/0.001198, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.155/2.155, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8653/0.8667, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06991/0.9367, allocations: 61.24 MB / 1.148 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01933/0.956, allocations: 11.98 MB / 1.16 GB, free: 1 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.9593, allocations: 60.41 kB / 1.16 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.962, allocations: 0.6977 MB / 1.161 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008069/0.9701, allocations: 2.065 MB / 1.163 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004548/0.9747, allocations: 1.21 MB / 1.164 GB, free: 14.63 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006006/0.9807, allocations: 3.098 MB / 1.167 GB, free: 13.1 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/0.983, allocations: 1.103 MB / 1.168 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003861/0.9869, allocations: 1.36 MB / 1.17 GB, free: 11.89 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.9889, allocations: 0.8972 MB / 1.17 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004127/0.9894, allocations: 115.8 kB / 1.171 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003807/0.9932, allocations: 1.462 MB / 1.172 GB, free: 10.97 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004916/0.9937, allocations: 293.1 kB / 1.172 GB, free: 10.78 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.9951, allocations: 0.69 MB / 1.173 GB, free: 10.35 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004742/0.9999, allocations: 2.309 MB / 1.175 GB, free: 9.133 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9999, allocations: 0 / 1.175 GB, free: 9.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9999, allocations: 0 / 1.175 GB, free: 9.133 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.04e-05/1, allocations: 0 / 1.175 GB, free: 9.133 MB / 0.92 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.004461/1.004, allocations: 1.723 MB / 1.177 GB, free: 7.797 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.004, allocations: 12.44 kB / 1.177 GB, free: 7.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/1.007, allocations: 410.8 kB / 1.177 GB, free: 7.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/1.009, allocations: 1.163 MB / 1.178 GB, free: 6.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-05/1.01, allocations: 61.69 kB / 1.178 GB, free: 6.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/1.01, allocations: 82.19 kB / 1.179 GB, free: 6.621 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/1.012, allocations: 1.003 MB / 1.179 GB, free: 5.953 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/1.012, allocations: 5.172 kB / 1.179 GB, free: 5.949 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/1.012, allocations: 33 kB / 1.18 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/1.012, allocations: 18.31 kB / 1.18 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/1.014, allocations: 0.8561 MB / 1.18 GB, free: 5.5 MB / 0.92 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.006756/1.021, allocations: 5.244 MB / 1.185 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/1.024, allocations: 0.7887 MB / 1.186 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/1.025, allocations: 297.5 kB / 1.187 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/1.026, allocations: 0.9149 MB / 1.187 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.026, allocations: 48.72 kB / 1.187 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 1.844e-06/1.026, allocations: 1.312 kB / 1.187 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.007993/1.034, allocations: 1.857 MB / 1.189 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/1.034, allocations: 56.25 kB / 1.189 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/1.035, allocations: 1.074 MB / 1.19 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/1.036, allocations: 37.23 kB / 1.19 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/1.036, allocations: 0.5265 MB / 1.191 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.036, allocations: 153.5 kB / 1.191 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/1.036, allocations: 142.7 kB / 1.191 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.036, allocations: 327.1 kB / 1.192 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008763/1.037, allocations: 311.8 kB / 1.192 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.038, allocations: 0.5298 MB / 1.192 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/1.04, allocations: 0.7029 MB / 1.193 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.04, allocations: 1.5 kB / 1.193 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003561/1.044, allocations: 1.148 MB / 1.194 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.044, allocations: 7.938 kB / 1.194 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.044, allocations: 12.02 kB / 1.194 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/1.045, allocations: 315.1 kB / 1.194 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/1.045, allocations: 136.5 kB / 1.195 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/1.047, allocations: 0.901 MB / 1.196 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.048, allocations: 151.1 kB / 1.196 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/1.048, allocations: 35.67 kB / 1.196 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001183/1.049, allocations: 0.5056 MB / 1.196 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001029/1.05, allocations: 0.5287 MB / 1.197 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001608/1.052, allocations: 0.711 MB / 1.197 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.58e-06/1.052, allocations: 2.281 kB / 1.197 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003395/1.056, allocations: 1.122 MB / 1.198 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.056, allocations: 6.75 kB / 1.198 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.056, allocations: 9.406 kB / 1.198 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.057, allocations: 305.4 kB / 1.199 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/1.057, allocations: 124.6 kB / 1.199 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/1.058, allocations: 0.8927 MB / 1.2 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.06, allocations: 137.4 kB / 1.2 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-05/1.06, allocations: 35.2 kB / 1.2 GB, free: 6.988 MB / 0.9356 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.0002278/1.06, allocations: 216.9 kB / 1.2 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/1.06, allocations: 116.4 kB / 1.2 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/1.064, allocations: 1.101 MB / 1.201 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.064, allocations: 1.375 kB / 1.201 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.064, allocations: 0 / 1.201 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/1.065, allocations: 261.4 kB / 1.202 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/1.065, allocations: 6.125 kB / 1.202 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/1.066, allocations: 76.47 kB / 1.202 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/1.066, allocations: 33.33 kB / 1.202 GB, free: 5.805 MB / 0.9356 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.002663/1.068, allocations: 0.7693 MB / 1.202 GB, free: 5.395 MB / 0.9356 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