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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001631/0.001631, allocations: 115 kB / 16.42 MB, free: 6.512 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.001959/0.001959, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.67/2.67, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 72.08 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7726, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06178/0.8345, allocations: 61.25 MB / 1.286 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.8524, allocations: 12 MB / 1.298 GB, free: 4 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.8544, allocations: 55.69 kB / 1.298 GB, free: 3.945 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.857, allocations: 0.7025 MB / 1.299 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006696/0.8637, allocations: 2.071 MB / 1.301 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.8669, allocations: 1.201 MB / 1.302 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004214/0.8711, allocations: 3.093 MB / 1.305 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.8729, allocations: 1.1 MB / 1.306 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.8761, allocations: 1.363 MB / 1.307 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.8778, allocations: 0.8983 MB / 1.308 GB, free: 9.469 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003116/0.8781, allocations: 116 kB / 1.308 GB, free: 9.355 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.8812, allocations: 1.454 MB / 1.31 GB, free: 7.898 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.8816, allocations: 294.9 kB / 1.31 GB, free: 7.609 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.8827, allocations: 0.6958 MB / 1.311 GB, free: 6.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003959/0.8867, allocations: 2.309 MB / 1.313 GB, free: 4.598 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8867, allocations: 0 / 1.313 GB, free: 4.598 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8867, allocations: 0 / 1.313 GB, free: 4.598 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.852e-05/0.8868, allocations: 0 / 1.313 GB, free: 4.598 MB / 1.029 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.003583/0.8904, allocations: 1.771 MB / 1.315 GB, free: 2.766 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.8904, allocations: 16.03 kB / 1.315 GB, free: 2.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.8927, allocations: 411.6 kB / 1.315 GB, free: 2.348 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.8951, allocations: 1.18 MB / 1.316 GB, free: 1.109 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.8952, allocations: 62 kB / 1.316 GB, free: 1.051 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.8953, allocations: 84 kB / 1.316 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.8974, allocations: 1.001 MB / 1.317 GB, free: 15.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.8975, allocations: 4 kB / 1.317 GB, free: 15.9 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.8976, allocations: 32 kB / 1.317 GB, free: 15.87 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.8976, allocations: 23.94 kB / 1.317 GB, free: 15.85 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.9, allocations: 0.8548 MB / 1.318 GB, free: 15 MB / 1.045 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.006781/0.9067, allocations: 5.248 MB / 1.323 GB, free: 9.371 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.9101, allocations: 0.7851 MB / 1.324 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/0.9108, allocations: 308.5 kB / 1.324 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.9115, allocations: 0.9064 MB / 1.325 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.9115, allocations: 38.56 kB / 1.325 GB, free: 7.113 MB / 1.045 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.9115, allocations: 0 / 1.325 GB, free: 7.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=44): time 0.008402/0.9199, allocations: 1.868 MB / 1.327 GB, free: 5.215 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.92, allocations: 59.34 kB / 1.327 GB, free: 5.145 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.9217, allocations: 1.072 MB / 1.328 GB, free: 4.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.326e-05/0.9218, allocations: 45.64 kB / 1.328 GB, free: 4.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.9223, allocations: 0.532 MB / 1.329 GB, free: 3.473 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.9224, allocations: 162.6 kB / 1.329 GB, free: 3.312 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.9227, allocations: 138.2 kB / 1.329 GB, free: 3.168 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9228, allocations: 326 kB / 1.329 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000872/0.9237, allocations: 311.2 kB / 1.33 GB, free: 2.539 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.9247, allocations: 0.529 MB / 1.33 GB, free: 1.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.9264, allocations: 0.7104 MB / 1.331 GB, free: 1.133 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.9264, allocations: 4 kB / 1.331 GB, free: 1.129 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003627/0.9301, allocations: 1.153 MB / 1.332 GB, free: 15.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.9301, allocations: 14.02 kB / 1.332 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.9301, allocations: 8 kB / 1.332 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.9314, allocations: 311.5 kB / 1.332 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.932, allocations: 131.7 kB / 1.332 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.9334, allocations: 0.9035 MB / 1.333 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.9348, allocations: 155.3 kB / 1.333 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.9349, allocations: 39.98 kB / 1.334 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00117/0.9361, allocations: 0.5051 MB / 1.334 GB, free: 13.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001034/0.9371, allocations: 0.5329 MB / 1.335 GB, free: 13.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0016/0.9387, allocations: 0.694 MB / 1.335 GB, free: 12.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.36e-06/0.9388, allocations: 4 kB / 1.335 GB, free: 12.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003474/0.9422, allocations: 1.134 MB / 1.336 GB, free: 11.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.9423, allocations: 8 kB / 1.336 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9423, allocations: 4 kB / 1.336 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.9434, allocations: 300.7 kB / 1.337 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.944, allocations: 131.8 kB / 1.337 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.9453, allocations: 0.9014 MB / 1.338 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.9466, allocations: 131.7 kB / 1.338 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.9467, allocations: 35.98 kB / 1.338 GB, free: 9.812 MB / 1.061 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.00022/0.9469, allocations: 213.6 kB / 1.338 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.9471, allocations: 119.2 kB / 1.338 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.9509, allocations: 1.104 MB / 1.339 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.9509, allocations: 3.938 kB / 1.339 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9509, allocations: 0 / 1.339 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/0.9514, allocations: 272.2 kB / 1.339 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.9515, allocations: 8 kB / 1.339 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/0.9523, allocations: 71.84 kB / 1.34 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.9524, allocations: 40.33 kB / 1.34 GB, free: 7.957 MB / 1.061 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.002717/0.9552, allocations: 0.7655 MB / 1.34 GB, free: 7.184 MB / 1.061 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