Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001497/0.001497, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001917/0.001917, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.407/2.407, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.7776, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06342/0.841, allocations: 61.25 MB / 1.227 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.8579, allocations: 11.99 MB / 1.239 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.8599, allocations: 71.56 kB / 1.239 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.862, allocations: 0.6908 MB / 1.24 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006223/0.8683, allocations: 2.066 MB / 1.242 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.8715, allocations: 1.209 MB / 1.243 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004273/0.8758, allocations: 3.099 MB / 1.246 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.8776, allocations: 1.092 MB / 1.247 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.8808, allocations: 1.365 MB / 1.248 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.8824, allocations: 0.8945 MB / 1.249 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003225/0.8827, allocations: 116 kB / 1.249 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.8859, allocations: 1.451 MB / 1.251 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004732/0.8864, allocations: 302.8 kB / 1.251 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.8876, allocations: 0.688 MB / 1.252 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004036/0.8917, allocations: 2.317 MB / 1.254 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.8917, allocations: 4 kB / 1.254 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8917, allocations: 0 / 1.254 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.752e-05/0.8918, allocations: 0 / 1.254 GB, free: 10.91 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.003678/0.8954, allocations: 1.787 MB / 1.256 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.8955, allocations: 8.922 kB / 1.256 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.8973, allocations: 343.7 kB / 1.256 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.8998, allocations: 1.165 MB / 1.257 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.8999, allocations: 66 kB / 1.257 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.9, allocations: 84 kB / 1.257 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.902, allocations: 0.9741 MB / 1.258 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.902, allocations: 0 / 1.258 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.9021, allocations: 32 kB / 1.258 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.9021, allocations: 20 kB / 1.258 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.9043, allocations: 0.8079 MB / 1.259 GB, free: 5.465 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.006594/0.9109, allocations: 5.142 MB / 1.264 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.9125, allocations: 0.5541 MB / 1.265 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/0.9132, allocations: 256.7 kB / 1.265 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.9146, allocations: 1.373 MB / 1.266 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.9147, allocations: 46.48 kB / 1.266 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/0.9147, allocations: 0 / 1.266 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.00826/0.9229, allocations: 1.763 MB / 1.268 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.923, allocations: 55.41 kB / 1.268 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.9247, allocations: 1.076 MB / 1.269 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.9248, allocations: 37.7 kB / 1.269 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.9253, allocations: 0.5437 MB / 1.27 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.9254, allocations: 150.7 kB / 1.27 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.9257, allocations: 142.2 kB / 1.27 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9258, allocations: 326 kB / 1.27 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008061/0.9266, allocations: 279.2 kB / 1.27 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/0.9276, allocations: 0.4979 MB / 1.271 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.9291, allocations: 0.656 MB / 1.272 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.9291, allocations: 0 / 1.272 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002582/0.9317, allocations: 0.966 MB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.9318, allocations: 8 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.9318, allocations: 4 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.9331, allocations: 307.2 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.9336, allocations: 123.8 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.9351, allocations: 0.8958 MB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.9363, allocations: 147.4 kB / 1.274 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.9364, allocations: 39.92 kB / 1.274 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00106/0.9374, allocations: 489.2 kB / 1.274 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009486/0.9384, allocations: 0.4939 MB / 1.275 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001446/0.9398, allocations: 0.6544 MB / 1.276 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.362e-06/0.9399, allocations: 4 kB / 1.276 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002552/0.9424, allocations: 0.9431 MB / 1.277 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9424, allocations: 8 kB / 1.277 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9425, allocations: 4 kB / 1.277 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.9436, allocations: 296.6 kB / 1.277 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.9441, allocations: 115.8 kB / 1.277 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.9455, allocations: 0.9027 MB / 1.278 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.9466, allocations: 139.6 kB / 1.278 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/0.9467, allocations: 28 kB / 1.278 GB, free: 0.8867 MB / 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.0002451/0.947, allocations: 224.2 kB / 1.278 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.9472, allocations: 119.2 kB / 1.278 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.951, allocations: 1.051 MB / 1.279 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.951, allocations: 3.984 kB / 1.279 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.951, allocations: 4 kB / 1.279 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.9515, allocations: 256.2 kB / 1.28 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.9516, allocations: 15.94 kB / 1.28 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/0.9524, allocations: 63.86 kB / 1.28 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.9525, allocations: 28.39 kB / 1.28 GB, free: 15.09 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.002679/0.9552, allocations: 0.7301 MB / 1.28 GB, free: 14.36 MB / 1.014 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