Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001349/0.001349, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001368/0.001368, allocations: 192 kB / 17.35 MB, free: 5.738 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00253/0.00253, allocations: 71.83 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7562, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06005/0.8163, allocations: 61.25 MB / 1.227 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.8328, allocations: 12 MB / 1.239 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.8349, allocations: 59.62 kB / 1.239 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.8373, allocations: 0.6947 MB / 1.24 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005528/0.8429, allocations: 2.066 MB / 1.242 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003192/0.8461, allocations: 1.223 MB / 1.243 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004123/0.8502, allocations: 3.08 MB / 1.246 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.852, allocations: 1.104 MB / 1.247 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.8555, allocations: 1.364 MB / 1.248 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.8571, allocations: 0.8945 MB / 1.249 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002638/0.8574, allocations: 116 kB / 1.249 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.8604, allocations: 1.458 MB / 1.251 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.8608, allocations: 286.9 kB / 1.251 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009751/0.8618, allocations: 0.6997 MB / 1.252 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.8653, allocations: 2.3 MB / 1.254 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8653, allocations: 0 / 1.254 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8653, allocations: 0 / 1.254 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.254e-05/0.8654, allocations: 3.938 kB / 1.254 GB, free: 10.93 MB / 0.9825 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.003253/0.8687, allocations: 1.73 MB / 1.256 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.8687, allocations: 8.922 kB / 1.256 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.871, allocations: 410.8 kB / 1.256 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.8734, allocations: 1.167 MB / 1.257 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.8735, allocations: 62 kB / 1.257 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.8736, allocations: 80 kB / 1.257 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.8757, allocations: 1.002 MB / 1.258 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.8757, allocations: 3.938 kB / 1.258 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.8758, allocations: 32 kB / 1.258 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.8759, allocations: 24 kB / 1.258 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.8782, allocations: 0.8625 MB / 1.259 GB, free: 5.391 MB / 0.9825 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.006585/0.8848, allocations: 5.228 MB / 1.264 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/0.8882, allocations: 0.7856 MB / 1.265 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007239/0.889, allocations: 298.3 kB / 1.265 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/0.8896, allocations: 0.9064 MB / 1.266 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.8897, allocations: 34.56 kB / 1.266 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 5.44e-06/0.8897, allocations: 4 kB / 1.266 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.008513/0.8982, allocations: 1.867 MB / 1.268 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.8983, allocations: 55.41 kB / 1.268 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.9001, allocations: 1.072 MB / 1.269 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/0.9002, allocations: 37.7 kB / 1.269 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.9006, allocations: 0.5311 MB / 1.27 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.9008, allocations: 153.8 kB / 1.27 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.901, allocations: 134.1 kB / 1.27 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9011, allocations: 330 kB / 1.27 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/0.9021, allocations: 311.3 kB / 1.271 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.9032, allocations: 0.5244 MB / 1.271 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.905, allocations: 0.7259 MB / 1.272 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.905, allocations: 0 / 1.272 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003753/0.9087, allocations: 1.145 MB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.9088, allocations: 8 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.9088, allocations: 4 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.9101, allocations: 316.6 kB / 1.273 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.9107, allocations: 131.8 kB / 1.273 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.9122, allocations: 0.8957 MB / 1.274 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.9135, allocations: 163.2 kB / 1.274 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/0.9136, allocations: 27.98 kB / 1.274 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001247/0.9148, allocations: 0.512 MB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/0.9159, allocations: 0.5329 MB / 1.275 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001669/0.9176, allocations: 0.6975 MB / 1.276 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.08e-06/0.9176, allocations: 0 / 1.276 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003617/0.9212, allocations: 1.126 MB / 1.277 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.9212, allocations: 8 kB / 1.277 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.9213, allocations: 8 kB / 1.277 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.9224, allocations: 304.7 kB / 1.277 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.923, allocations: 131.8 kB / 1.278 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.9245, allocations: 0.8965 MB / 1.278 GB, free: 464 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.9258, allocations: 135.6 kB / 1.279 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/0.9259, allocations: 31.98 kB / 1.279 GB, free: 296 kB / 0.9981 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.0002605/0.9262, allocations: 216.1 kB / 1.279 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.9265, allocations: 118.7 kB / 1.279 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004029/0.9306, allocations: 1.1 MB / 1.28 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.9306, allocations: 7.984 kB / 1.28 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.9306, allocations: 4 kB / 1.28 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.9311, allocations: 255.5 kB / 1.28 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.9314, allocations: 12 kB / 1.28 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008445/0.9322, allocations: 67.92 kB / 1.28 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.9323, allocations: 32.33 kB / 1.28 GB, free: 14.44 MB / 1.014 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.002893/0.9352, allocations: 0.7677 MB / 1.281 GB, free: 13.68 MB / 1.014 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