Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_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.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 110.3 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.001631/0.001631, 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9499/0.9514, allocations: 159.1 MB / 1.221 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06993/1.021, allocations: 61.24 MB / 1.281 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01858/1.04, allocations: 12 MB / 1.292 GB, free: 9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/1.043, allocations: 59.62 kB / 1.292 GB, free: 8.941 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/1.045, allocations: 0.6986 MB / 1.293 GB, free: 8.238 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006244/1.051, allocations: 2.076 MB / 1.295 GB, free: 6.152 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/1.055, allocations: 1.21 MB / 1.296 GB, free: 4.953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004711/1.059, allocations: 3.106 MB / 1.299 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/1.061, allocations: 1.122 MB / 1.3 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/1.065, allocations: 1.358 MB / 1.302 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/1.067, allocations: 0.91 MB / 1.303 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004036/1.067, allocations: 124 kB / 1.303 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/1.071, allocations: 1.45 MB / 1.304 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005089/1.071, allocations: 298.8 kB / 1.305 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/1.072, allocations: 0.6997 MB / 1.305 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00414/1.077, allocations: 2.329 MB / 1.307 GB, free: 9.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.077, allocations: 0 / 1.307 GB, free: 9.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.647e-06/1.077, allocations: 0 / 1.307 GB, free: 9.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.342e-05/1.077, allocations: 3.938 kB / 1.307 GB, free: 9.496 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00411/1.081, allocations: 1.734 MB / 1.309 GB, free: 7.699 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.081, allocations: 12.03 kB / 1.309 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/1.083, allocations: 450.8 kB / 1.31 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/1.086, allocations: 1.179 MB / 1.311 GB, free: 6.012 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/1.086, allocations: 61.94 kB / 1.311 GB, free: 5.949 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/1.086, allocations: 84 kB / 1.311 GB, free: 5.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/1.089, allocations: 1.01 MB / 1.312 GB, free: 4.828 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/1.089, allocations: 0 / 1.312 GB, free: 4.828 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/1.089, allocations: 32 kB / 1.312 GB, free: 4.797 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/1.089, allocations: 16 kB / 1.312 GB, free: 4.781 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/1.091, allocations: 0.9406 MB / 1.313 GB, free: 3.84 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.006804/1.098, allocations: 4.663 MB / 1.317 GB, free: 14.83 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/1.102, allocations: 0.9847 MB / 1.318 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/1.103, allocations: 407.9 kB / 1.319 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009971/1.104, allocations: 1.021 MB / 1.32 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/1.104, allocations: 38.94 kB / 1.32 GB, free: 12.15 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 2.795e-06/1.104, allocations: 7.938 kB / 1.32 GB, free: 12.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=53): time 0.007618/1.112, allocations: 1.897 MB / 1.322 GB, free: 10.21 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/1.112, allocations: 59.84 kB / 1.322 GB, free: 10.14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/1.114, allocations: 0.959 MB / 1.323 GB, free: 9.168 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.839e-05/1.114, allocations: 37.7 kB / 1.323 GB, free: 9.125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/1.114, allocations: 0.5002 MB / 1.323 GB, free: 8.621 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/1.115, allocations: 189.3 kB / 1.323 GB, free: 8.434 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/1.115, allocations: 130.1 kB / 1.323 GB, free: 8.301 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.115, allocations: 322 kB / 1.324 GB, free: 7.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/1.116, allocations: 362.8 kB / 1.324 GB, free: 7.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/1.117, allocations: 0.503 MB / 1.325 GB, free: 7.059 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/1.119, allocations: 0.7501 MB / 1.325 GB, free: 6.277 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.119, allocations: 0 / 1.325 GB, free: 6.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003131/1.123, allocations: 1.061 MB / 1.326 GB, free: 5.203 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.123, allocations: 4 kB / 1.326 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.123, allocations: 4 kB / 1.326 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/1.124, allocations: 306.9 kB / 1.327 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/1.125, allocations: 131.8 kB / 1.327 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/1.126, allocations: 0.8957 MB / 1.328 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/1.127, allocations: 119.3 kB / 1.328 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/1.127, allocations: 27.98 kB / 1.328 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/1.129, allocations: 0.5595 MB / 1.328 GB, free: 3.137 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001162/1.13, allocations: 0.5029 MB / 1.329 GB, free: 2.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001977/1.132, allocations: 0.7424 MB / 1.33 GB, free: 1.797 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/1.132, allocations: 0 / 1.33 GB, free: 1.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002943/1.135, allocations: 1.045 MB / 1.331 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.135, allocations: 8 kB / 1.331 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.135, allocations: 4 kB / 1.331 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.136, allocations: 287.5 kB / 1.331 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/1.137, allocations: 139.8 kB / 1.331 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/1.138, allocations: 0.8956 MB / 1.332 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.139, allocations: 103.6 kB / 1.332 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/1.139, allocations: 35.97 kB / 1.332 GB, free: 15.25 MB / 1.061 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.0002454/1.139, allocations: 212.1 kB / 1.332 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/1.14, allocations: 110.6 kB / 1.332 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/1.143, allocations: 1.143 MB / 1.333 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.143, allocations: 3.984 kB / 1.333 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.143, allocations: 0 / 1.333 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/1.143, allocations: 271.5 kB / 1.334 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/1.144, allocations: 16 kB / 1.334 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008666/1.145, allocations: 79.84 kB / 1.334 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/1.145, allocations: 32.52 kB / 1.334 GB, free: 13.35 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.003274/1.148, allocations: 0.8849 MB / 1.335 GB, free: 12.46 MB / 1.061 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated