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.001487/0.001487, allocations: 108.4 kB / 16.41 MB, free: 6.445 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.001843/0.001843, allocations: 189.5 kB / 17.35 MB, free: 5.707 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.516/2.516, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9999/1.001, 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.0653/1.067, allocations: 61.24 MB / 1.227 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01883/1.086, allocations: 12 MB / 1.239 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/1.089, allocations: 59.62 kB / 1.239 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/1.091, allocations: 0.6947 MB / 1.24 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006279/1.098, allocations: 2.071 MB / 1.242 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/1.101, allocations: 1.221 MB / 1.243 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005003/1.106, allocations: 3.087 MB / 1.246 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/1.108, allocations: 1.124 MB / 1.247 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/1.111, allocations: 1.356 MB / 1.248 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/1.113, allocations: 0.9219 MB / 1.249 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003345/1.113, allocations: 116 kB / 1.249 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/1.116, allocations: 1.45 MB / 1.251 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004659/1.117, allocations: 310.8 kB / 1.251 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/1.118, allocations: 0.692 MB / 1.252 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004978/1.123, allocations: 2.336 MB / 1.254 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/1.123, allocations: 4 kB / 1.254 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/1.123, allocations: 0 / 1.254 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.61e-05/1.123, allocations: 0 / 1.254 GB, free: 10.84 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.004203/1.128, allocations: 1.79 MB / 1.256 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.128, allocations: 12.86 kB / 1.256 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/1.13, allocations: 467.5 kB / 1.256 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/1.133, allocations: 1.176 MB / 1.257 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/1.133, allocations: 66 kB / 1.257 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/1.133, allocations: 80 kB / 1.257 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/1.136, allocations: 1.009 MB / 1.258 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.136, allocations: 0 / 1.258 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/1.136, allocations: 35.98 kB / 1.258 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/1.136, allocations: 20 kB / 1.258 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/1.139, allocations: 0.929 MB / 1.259 GB, free: 5.117 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.007517/1.146, allocations: 4.665 MB / 1.264 GB, free: 112 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004406/1.151, allocations: 0.997 MB / 1.265 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/1.152, allocations: 407.3 kB / 1.265 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/1.153, allocations: 1.013 MB / 1.266 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.153, allocations: 43 kB / 1.266 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 3.046e-06/1.153, allocations: 0 / 1.266 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53): time 0.008283/1.161, allocations: 1.913 MB / 1.268 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/1.161, allocations: 55.84 kB / 1.268 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/1.164, allocations: 0.9552 MB / 1.269 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/1.164, allocations: 37.7 kB / 1.269 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006016/1.164, allocations: 0.5165 MB / 1.27 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/1.165, allocations: 198.3 kB / 1.27 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003637/1.165, allocations: 122.2 kB / 1.27 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002142/1.165, allocations: 330 kB / 1.27 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/1.166, allocations: 354.9 kB / 1.271 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.168, allocations: 0.5029 MB / 1.271 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/1.17, allocations: 0.754 MB / 1.272 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.17, allocations: 4 kB / 1.272 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00335/1.173, allocations: 1.054 MB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.173, allocations: 8.031 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.173, allocations: 4 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/1.175, allocations: 306.2 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/1.175, allocations: 135.8 kB / 1.273 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/1.177, allocations: 0.888 MB / 1.274 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.178, allocations: 123.5 kB / 1.274 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/1.178, allocations: 31.98 kB / 1.274 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001478/1.18, allocations: 0.5517 MB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001239/1.181, allocations: 0.501 MB / 1.275 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002197/1.183, allocations: 0.7463 MB / 1.276 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/1.183, allocations: 3.938 kB / 1.276 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003186/1.186, allocations: 1.045 MB / 1.277 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.186, allocations: 4 kB / 1.277 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.186, allocations: 7.938 kB / 1.277 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/1.187, allocations: 292.9 kB / 1.277 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/1.188, allocations: 135.8 kB / 1.278 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/1.19, allocations: 0.8995 MB / 1.278 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.191, allocations: 111.7 kB / 1.279 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/1.191, 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.0002574/1.191, allocations: 217.1 kB / 1.279 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/1.191, allocations: 115.2 kB / 1.279 GB, free: 168 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/1.195, allocations: 1.143 MB / 1.28 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.195, allocations: 7.969 kB / 1.28 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.195, allocations: 3.938 kB / 1.28 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/1.195, allocations: 280.1 kB / 1.28 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/1.196, allocations: 8 kB / 1.28 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/1.196, allocations: 79.91 kB / 1.28 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/1.197, allocations: 32.52 kB / 1.28 GB, free: 14.59 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.003402/1.2, allocations: 0.8778 MB / 1.281 GB, free: 13.7 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