Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,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",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,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",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.00117, allocations: 109.8 kB / 16.42 MB, free: 6.469 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.001173/0.001173, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.1 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.189/2.189, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 55.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8276, 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_LimitedCapacity): time 0.06242/0.8901, allocations: 61.25 MB / 1.148 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02059/0.9108, allocations: 11.98 MB / 1.16 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.914, allocations: 56.5 kB / 1.16 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.9165, allocations: 0.7007 MB / 1.161 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007013/0.9235, allocations: 2.069 MB / 1.163 GB, free: 15.28 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.9275, allocations: 1.207 MB / 1.164 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005691/0.9332, allocations: 3.095 MB / 1.167 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.9354, allocations: 1.099 MB / 1.168 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/0.9396, allocations: 1.369 MB / 1.17 GB, free: 11.88 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.9418, allocations: 0.897 MB / 1.17 GB, free: 11.46 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.9423, allocations: 115.5 kB / 1.171 GB, free: 11.46 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.9467, allocations: 1.465 MB / 1.172 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006116/0.9473, allocations: 297.2 kB / 1.172 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.949, allocations: 0.6906 MB / 1.173 GB, free: 10.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005559/0.9546, allocations: 2.306 MB / 1.175 GB, free: 9.102 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9546, allocations: 0 / 1.175 GB, free: 9.102 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9546, allocations: 0 / 1.175 GB, free: 9.102 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.457e-05/0.9547, allocations: 0.6875 kB / 1.175 GB, free: 9.102 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.005095/0.9598, allocations: 1.722 MB / 1.177 GB, free: 7.766 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.9599, allocations: 12.66 kB / 1.177 GB, free: 7.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.9619, allocations: 349.1 kB / 1.177 GB, free: 7.602 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.9649, allocations: 1.167 MB / 1.178 GB, free: 6.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-05/0.965, allocations: 60.38 kB / 1.178 GB, free: 6.641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.9652, allocations: 78.94 kB / 1.178 GB, free: 6.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.9674, allocations: 0.9665 MB / 1.179 GB, free: 5.973 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.9674, allocations: 6.094 kB / 1.179 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/0.9675, allocations: 31.97 kB / 1.179 GB, free: 5.945 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.9676, allocations: 19.38 kB / 1.179 GB, free: 5.945 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.9698, allocations: 0.8066 MB / 1.18 GB, free: 5.543 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.007717/0.9776, allocations: 5.137 MB / 1.185 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.9792, allocations: 0.5456 MB / 1.186 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/0.9798, allocations: 266.2 kB / 1.186 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.9812, allocations: 1.371 MB / 1.187 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.9813, allocations: 40.62 kB / 1.187 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 3.427e-06/0.9813, allocations: 1.219 kB / 1.187 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43): time 0.008106/0.9894, allocations: 1.766 MB / 1.189 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.9894, allocations: 55.22 kB / 1.189 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.9915, allocations: 1.074 MB / 1.19 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/0.9916, allocations: 37.39 kB / 1.19 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/0.9921, allocations: 0.5375 MB / 1.191 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.9923, allocations: 149.5 kB / 1.191 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.9926, allocations: 130.6 kB / 1.191 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9927, allocations: 331.8 kB / 1.191 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008076/0.9935, allocations: 274.5 kB / 1.192 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009627/0.9945, allocations: 0.5125 MB / 1.192 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.9961, allocations: 0.6539 MB / 1.193 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.9961, allocations: 2.719 kB / 1.193 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002678/0.9988, allocations: 0.9513 MB / 1.194 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.9988, allocations: 7.625 kB / 1.194 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.9988, allocations: 9.438 kB / 1.194 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/1, allocations: 303.2 kB / 1.194 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/1.001, allocations: 123.4 kB / 1.194 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/1.002, allocations: 0.8974 MB / 1.195 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.004, allocations: 152.5 kB / 1.195 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/1.004, allocations: 30.77 kB / 1.195 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001186/1.005, allocations: 486.2 kB / 1.196 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009497/1.006, allocations: 0.5025 MB / 1.196 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001447/1.007, allocations: 0.6392 MB / 1.197 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.703e-06/1.007, allocations: 2.594 kB / 1.197 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00261/1.01, allocations: 0.9417 MB / 1.198 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.01, allocations: 7.281 kB / 1.198 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.01, allocations: 4.25 kB / 1.198 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/1.011, allocations: 305 kB / 1.198 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/1.012, allocations: 119.5 kB / 1.198 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/1.013, allocations: 0.8911 MB / 1.199 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.014, allocations: 126.3 kB / 1.199 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/1.015, allocations: 34.48 kB / 1.199 GB, free: 7.137 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.0002965/1.015, allocations: 221 kB / 1.199 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/1.015, allocations: 107.9 kB / 1.199 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/1.019, allocations: 1.063 MB / 1.2 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.019, allocations: 0 / 1.2 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.019, allocations: 0 / 1.2 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000627/1.02, allocations: 260.5 kB / 1.201 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/1.02, allocations: 10.66 kB / 1.201 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/1.021, allocations: 63.05 kB / 1.201 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/1.021, allocations: 26.28 kB / 1.201 GB, free: 5.996 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.00284/1.024, allocations: 0.7266 MB / 1.202 GB, free: 5.605 MB / 0.9356 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity could not be translated