Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001789/0.001789, allocations: 108.7 kB / 16.41 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.002095/0.002095, allocations: 189.4 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.553/1.553, allocations: 222.9 MB / 241 MB, free: 15.08 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.57/2.57, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9313, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06631/0.9976, allocations: 61.26 MB / 1.227 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01912/1.017, allocations: 12 MB / 1.239 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003386/1.02, allocations: 59.62 kB / 1.239 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/1.023, allocations: 0.6947 MB / 1.24 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0066/1.03, allocations: 2.074 MB / 1.242 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003619/1.033, allocations: 1.219 MB / 1.243 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00474/1.038, allocations: 3.087 MB / 1.246 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/1.04, allocations: 1.124 MB / 1.247 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00393/1.044, allocations: 1.363 MB / 1.248 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/1.047, allocations: 0.9184 MB / 1.249 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004524/1.047, allocations: 116 kB / 1.249 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/1.051, allocations: 1.45 MB / 1.251 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/1.051, allocations: 302.8 kB / 1.251 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/1.053, allocations: 0.6997 MB / 1.252 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005173/1.058, allocations: 2.332 MB / 1.254 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.058, allocations: 4 kB / 1.254 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/1.058, allocations: 4 kB / 1.254 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.629e-05/1.058, allocations: 0 / 1.254 GB, free: 10.83 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004416/1.062, allocations: 1.79 MB / 1.256 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.063, allocations: 8.922 kB / 1.256 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/1.065, allocations: 467.5 kB / 1.256 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/1.068, allocations: 1.184 MB / 1.257 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/1.068, allocations: 62 kB / 1.257 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/1.068, allocations: 80 kB / 1.257 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/1.07, allocations: 1.006 MB / 1.258 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/1.07, allocations: 0 / 1.258 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/1.071, allocations: 32 kB / 1.258 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/1.071, allocations: 20 kB / 1.258 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/1.073, allocations: 0.9368 MB / 1.259 GB, free: 5.105 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.007885/1.081, allocations: 4.657 MB / 1.264 GB, free: 108 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/1.085, allocations: 0.9951 MB / 1.265 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/1.086, allocations: 411.2 kB / 1.265 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.087, allocations: 1.017 MB / 1.266 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/1.088, allocations: 42.98 kB / 1.266 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 2.836e-06/1.088, allocations: 3.938 kB / 1.266 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53): time 0.007607/1.095, allocations: 1.909 MB / 1.268 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/1.095, allocations: 55.84 kB / 1.268 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/1.097, allocations: 0.9552 MB / 1.269 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/1.097, allocations: 37.7 kB / 1.269 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/1.097, allocations: 0.5164 MB / 1.27 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/1.097, allocations: 198.3 kB / 1.27 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/1.098, allocations: 126.2 kB / 1.27 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.098, allocations: 330 kB / 1.27 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.099, allocations: 350.9 kB / 1.271 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/1.1, allocations: 0.5086 MB / 1.271 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/1.102, allocations: 0.754 MB / 1.272 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.102, allocations: 4 kB / 1.272 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003087/1.105, allocations: 1.057 MB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.105, allocations: 4 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.105, allocations: 7.984 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/1.107, allocations: 300.8 kB / 1.273 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/1.107, allocations: 135.8 kB / 1.273 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/1.109, allocations: 0.888 MB / 1.274 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/1.11, allocations: 123.5 kB / 1.274 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.839e-05/1.11, allocations: 27.98 kB / 1.274 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001419/1.112, allocations: 0.5556 MB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001196/1.113, allocations: 0.5069 MB / 1.275 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002002/1.115, allocations: 0.7346 MB / 1.276 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/1.115, allocations: 0 / 1.276 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002982/1.118, allocations: 1.057 MB / 1.277 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.118, allocations: 6.656 kB / 1.277 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.118, allocations: 7.984 kB / 1.277 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/1.119, allocations: 295.1 kB / 1.277 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/1.12, allocations: 131.8 kB / 1.278 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/1.121, allocations: 0.8918 MB / 1.278 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.122, allocations: 107.8 kB / 1.279 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/1.122, allocations: 27.98 kB / 1.279 GB, free: 0.4961 MB / 0.9981 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.0002533/1.122, allocations: 216 kB / 1.279 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/1.123, allocations: 123.2 kB / 1.279 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/1.126, allocations: 1.143 MB / 1.28 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.126, allocations: 0 / 1.28 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.126, allocations: 3.984 kB / 1.28 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/1.126, allocations: 276.2 kB / 1.28 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.126, allocations: 11.98 kB / 1.28 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008289/1.127, allocations: 75.86 kB / 1.28 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/1.127, allocations: 44.38 kB / 1.28 GB, free: 14.58 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.00335/1.131, allocations: 0.8791 MB / 1.281 GB, free: 13.69 MB / 1.014 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