Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_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_latest_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_latest_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.001621/0.001621, allocations: 112.7 kB / 16.38 MB, free: 6.008 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.001907/0.001907, allocations: 188.9 kB / 17.31 MB, free: 5.617 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.452/2.452, allocations: 442.6 MB / 0.7166 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.05 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2786, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.5408/0.8195, allocations: 61.24 MB / 1.087 GB, free: 23.17 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01673/0.8362, allocations: 11.99 MB / 1.098 GB, free: 22.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.8395, allocations: 57.84 kB / 1.098 GB, free: 22.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.8419, allocations: 0.6778 MB / 1.099 GB, free: 22.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007191/0.8491, allocations: 1.975 MB / 1.101 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.8531, allocations: 1.2 MB / 1.102 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006387/0.8595, allocations: 3.081 MB / 1.105 GB, free: 19.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.8617, allocations: 1.116 MB / 1.106 GB, free: 19.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003966/0.8657, allocations: 1.329 MB / 1.107 GB, free: 18.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.8677, allocations: 0.9049 MB / 1.108 GB, free: 18.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.8681, allocations: 119.8 kB / 1.108 GB, free: 18.47 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.8721, allocations: 1.456 MB / 1.11 GB, free: 18.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.8725, allocations: 292.5 kB / 1.11 GB, free: 17.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009599/0.8734, allocations: 0.6948 MB / 1.111 GB, free: 17.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004793/0.8782, allocations: 2.3 MB / 1.113 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.8783, allocations: 1.906 kB / 1.113 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8783, allocations: 0 / 1.113 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.286e-05/0.8783, allocations: 0 / 1.113 GB, free: 16.67 MB / 0.8419 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.004009/0.8824, allocations: 1.722 MB / 1.115 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.8824, allocations: 12.91 kB / 1.115 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.8842, allocations: 342.6 kB / 1.115 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.8866, allocations: 1.16 MB / 1.116 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.8867, allocations: 63.94 kB / 1.116 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.8868, allocations: 79.5 kB / 1.116 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.8889, allocations: 0.9724 MB / 1.117 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.889, allocations: 1.125 kB / 1.117 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.8891, allocations: 32.97 kB / 1.117 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.8891, allocations: 19.03 kB / 1.117 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.8913, allocations: 0.8007 MB / 1.118 GB, free: 13.91 MB / 0.8419 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.006546/0.8978, allocations: 5.138 MB / 1.123 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.8994, allocations: 0.5543 MB / 1.124 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.9, allocations: 265.4 kB / 1.124 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.9012, allocations: 1.368 MB / 1.125 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.9013, allocations: 33.73 kB / 1.125 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/0.9013, allocations: 0 / 1.125 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.008164/0.9094, allocations: 1.762 MB / 1.127 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.9095, allocations: 56.5 kB / 1.127 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.9112, allocations: 1.077 MB / 1.128 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/0.9113, allocations: 39.27 kB / 1.128 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.9117, allocations: 0.5257 MB / 1.129 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.9118, allocations: 154.4 kB / 1.129 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.912, allocations: 134.5 kB / 1.129 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.9121, allocations: 326.1 kB / 1.129 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/0.9129, allocations: 278.3 kB / 1.13 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008832/0.9137, allocations: 0.5029 MB / 1.13 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.9151, allocations: 0.665 MB / 1.131 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.9151, allocations: 1.156 kB / 1.131 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002868/0.918, allocations: 0.9602 MB / 1.132 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.918, allocations: 10.02 kB / 1.132 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.9181, allocations: 4.969 kB / 1.132 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.9193, allocations: 310.5 kB / 1.132 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.9198, allocations: 124 kB / 1.132 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.9211, allocations: 0.8982 MB / 1.133 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.9224, allocations: 146.2 kB / 1.133 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.9225, allocations: 34.34 kB / 1.133 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001057/0.9236, allocations: 489.1 kB / 1.134 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008239/0.9244, allocations: 0.4948 MB / 1.134 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001377/0.9258, allocations: 0.6385 MB / 1.135 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.585e-06/0.9258, allocations: 1.281 kB / 1.135 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002527/0.9284, allocations: 0.9472 MB / 1.136 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9284, allocations: 7.406 kB / 1.136 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.9284, allocations: 5.25 kB / 1.136 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.9294, allocations: 299.2 kB / 1.136 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.9299, allocations: 120.6 kB / 1.136 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.9311, allocations: 0.8942 MB / 1.137 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.9324, allocations: 131.9 kB / 1.137 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.9325, allocations: 29.36 kB / 1.137 GB, free: 2.012 MB / 0.8419 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.0002532/0.9327, allocations: 224.9 kB / 1.137 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.933, allocations: 115.2 kB / 1.137 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/0.9365, allocations: 1.052 MB / 1.138 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.9365, allocations: 3.094 kB / 1.138 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.9365, allocations: 0 / 1.138 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.937, allocations: 255.3 kB / 1.139 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.9371, allocations: 6.344 kB / 1.139 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006806/0.9378, allocations: 62.34 kB / 1.139 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.9379, allocations: 33.97 kB / 1.139 GB, free: 1.152 MB / 0.8419 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.002426/0.9403, allocations: 0.7303 MB / 1.14 GB, free: 0.9102 MB / 0.8419 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