Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_reverseFlow,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.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,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.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 112.7 kB / 16.42 MB, free: 6.508 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.001829/0.001829, allocations: 190.7 kB / 17.35 MB, free: 5.734 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 71.83 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8159/0.8174, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06216/0.8796, allocations: 61.24 MB / 1.268 GB, free: 164 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.8954, allocations: 12.01 MB / 1.28 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.8971, allocations: 59.62 kB / 1.28 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.8989, allocations: 0.6791 MB / 1.281 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.9038, allocations: 1.967 MB / 1.283 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.9068, allocations: 1.213 MB / 1.284 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003902/0.9107, allocations: 3.093 MB / 1.287 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.9125, allocations: 1.119 MB / 1.288 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.9157, allocations: 1.353 MB / 1.289 GB, free: 10.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.9175, allocations: 0.9218 MB / 1.29 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.9178, allocations: 120 kB / 1.29 GB, free: 9.551 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.9207, allocations: 1.443 MB / 1.292 GB, free: 8.105 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.9212, allocations: 298.9 kB / 1.292 GB, free: 7.812 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.9223, allocations: 0.7075 MB / 1.293 GB, free: 7.102 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003909/0.9262, allocations: 2.308 MB / 1.295 GB, free: 4.789 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9262, allocations: 4 kB / 1.295 GB, free: 4.785 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9262, allocations: 0 / 1.295 GB, free: 4.785 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.33e-05/0.9263, allocations: 4 kB / 1.295 GB, free: 4.781 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003625/0.9299, allocations: 1.734 MB / 1.297 GB, free: 2.988 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.9299, allocations: 8.031 kB / 1.297 GB, free: 2.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.9325, allocations: 450.8 kB / 1.297 GB, free: 2.539 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.9349, allocations: 1.175 MB / 1.298 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.935, allocations: 62 kB / 1.298 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.9351, allocations: 80 kB / 1.298 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.9372, allocations: 1.006 MB / 1.299 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.9373, allocations: 3.938 kB / 1.299 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.9373, allocations: 32 kB / 1.299 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.9374, allocations: 20 kB / 1.299 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.9399, allocations: 0.9447 MB / 1.3 GB, free: 15.13 MB / 1.029 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.006105/0.946, allocations: 4.672 MB / 1.305 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/0.9498, allocations: 0.9847 MB / 1.306 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.9508, allocations: 407.3 kB / 1.306 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009988/0.9518, allocations: 1.021 MB / 1.307 GB, free: 7.477 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.9519, allocations: 35 kB / 1.307 GB, free: 7.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 3.417e-06/0.9519, allocations: 0 / 1.307 GB, free: 7.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=53): time 0.008728/0.9606, allocations: 2.174 MB / 1.309 GB, free: 5.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.9607, allocations: 59.78 kB / 1.309 GB, free: 5.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.962, allocations: 0.9431 MB / 1.31 GB, free: 4.199 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/0.962, allocations: 37.7 kB / 1.31 GB, free: 4.156 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.9625, allocations: 0.5002 MB / 1.311 GB, free: 3.652 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.9626, allocations: 185.3 kB / 1.311 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.9629, allocations: 142 kB / 1.311 GB, free: 3.324 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.963, allocations: 322 kB / 1.311 GB, free: 3.004 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009723/0.964, allocations: 358.8 kB / 1.312 GB, free: 2.648 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.9651, allocations: 0.5116 MB / 1.312 GB, free: 2.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.967, allocations: 0.7502 MB / 1.313 GB, free: 1.293 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.967, allocations: 3.984 kB / 1.313 GB, free: 1.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002748/0.9698, allocations: 1.053 MB / 1.314 GB, free: 232 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.9698, allocations: 8 kB / 1.314 GB, free: 224 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9698, allocations: 4 kB / 1.314 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.971, allocations: 301 kB / 1.314 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.9717, allocations: 139.8 kB / 1.314 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.973, allocations: 0.8878 MB / 1.315 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009745/0.974, allocations: 127.3 kB / 1.315 GB, free: 14.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.9741, allocations: 31.97 kB / 1.315 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001274/0.9754, allocations: 0.5556 MB / 1.316 GB, free: 14.14 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/0.9765, allocations: 0.5038 MB / 1.317 GB, free: 13.58 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001909/0.9784, allocations: 0.7501 MB / 1.317 GB, free: 12.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.9784, allocations: 4 kB / 1.317 GB, free: 12.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002708/0.9811, allocations: 1.041 MB / 1.318 GB, free: 11.74 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.9811, allocations: 8 kB / 1.318 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9811, allocations: 4 kB / 1.318 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.9822, allocations: 293.7 kB / 1.319 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.9828, allocations: 131.8 kB / 1.319 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.9841, allocations: 0.8947 MB / 1.32 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009746/0.9851, allocations: 111.6 kB / 1.32 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/0.9851, allocations: 27.98 kB / 1.32 GB, free: 10.25 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002094/0.9853, allocations: 220.1 kB / 1.32 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.9856, allocations: 110.6 kB / 1.32 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/0.9897, allocations: 1.31 MB / 1.321 GB, free: 8.598 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.9898, allocations: 7.984 kB / 1.321 GB, free: 8.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9898, allocations: 0 / 1.321 GB, free: 8.59 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.9902, allocations: 271.5 kB / 1.322 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.9903, allocations: 8 kB / 1.322 GB, free: 8.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.9911, allocations: 79.84 kB / 1.322 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.9912, allocations: 40.44 kB / 1.322 GB, free: 8.18 MB / 1.045 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.003116/0.9943, allocations: 0.8843 MB / 1.323 GB, free: 7.297 MB / 1.045 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow could not be translated