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.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.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.001652/0.001652, allocations: 114.5 kB / 16.38 MB, free: 6.016 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.001962/0.001962, allocations: 192.2 kB / 17.31 MB, free: 5.625 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.15 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.598/2.598, allocations: 442.6 MB / 0.7166 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.25 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.6598/0.9967, allocations: 61.23 MB / 1.087 GB, free: 23.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01746/1.014, allocations: 12 MB / 1.098 GB, free: 22.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/1.018, allocations: 60.5 kB / 1.098 GB, free: 22.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/1.02, allocations: 0.6818 MB / 1.099 GB, free: 22.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00663/1.027, allocations: 1.976 MB / 1.101 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004611/1.031, allocations: 1.198 MB / 1.102 GB, free: 21.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005778/1.037, allocations: 3.094 MB / 1.105 GB, free: 19.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/1.039, allocations: 1.131 MB / 1.106 GB, free: 19.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/1.044, allocations: 1.321 MB / 1.108 GB, free: 18.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/1.046, allocations: 0.9224 MB / 1.108 GB, free: 18.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005399/1.047, allocations: 119.2 kB / 1.109 GB, free: 18.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004897/1.051, allocations: 1.453 MB / 1.11 GB, free: 17.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006828/1.052, allocations: 295.4 kB / 1.11 GB, free: 17.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001969/1.054, allocations: 0.7005 MB / 1.111 GB, free: 17.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006097/1.06, allocations: 2.325 MB / 1.113 GB, free: 16.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.06, allocations: 2.094 kB / 1.113 GB, free: 16.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.913e-06/1.06, allocations: 0 / 1.113 GB, free: 16.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.778e-05/1.06, allocations: 4 kB / 1.113 GB, free: 16.59 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006198/1.067, allocations: 1.732 MB / 1.115 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/1.067, allocations: 12.59 kB / 1.115 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/1.07, allocations: 457.4 kB / 1.115 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/1.073, allocations: 1.171 MB / 1.116 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.232e-05/1.073, allocations: 68.72 kB / 1.117 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/1.073, allocations: 78.84 kB / 1.117 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/1.076, allocations: 1.004 MB / 1.118 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/1.076, allocations: 0 / 1.118 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.076, allocations: 32.19 kB / 1.118 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/1.076, allocations: 18.69 kB / 1.118 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/1.079, allocations: 0.932 MB / 1.119 GB, free: 13.83 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.006835/1.086, allocations: 4.669 MB / 1.123 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/1.09, allocations: 0.9992 MB / 1.124 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/1.091, allocations: 406.6 kB / 1.124 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008122/1.092, allocations: 1.019 MB / 1.125 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/1.092, allocations: 38.64 kB / 1.126 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=53): time 2.905e-06/1.092, allocations: 0 / 1.126 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53): time 0.00801/1.1, allocations: 1.905 MB / 1.127 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/1.1, allocations: 57.81 kB / 1.127 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/1.102, allocations: 0.9576 MB / 1.128 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.102, allocations: 37.23 kB / 1.128 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/1.102, allocations: 0.5038 MB / 1.129 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.103, allocations: 188.6 kB / 1.129 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/1.103, allocations: 124.9 kB / 1.129 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/1.103, allocations: 328.8 kB / 1.13 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.104, allocations: 355.1 kB / 1.13 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1.105, allocations: 0.505 MB / 1.13 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/1.107, allocations: 0.7575 MB / 1.131 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.107, allocations: 0 / 1.131 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003193/1.111, allocations: 1.054 MB / 1.132 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.111, allocations: 6.094 kB / 1.132 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.111, allocations: 2.469 kB / 1.132 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/1.112, allocations: 305.2 kB / 1.132 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/1.113, allocations: 132 kB / 1.133 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/1.114, allocations: 0.8948 MB / 1.133 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.115, allocations: 120.2 kB / 1.134 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.115, allocations: 35.7 kB / 1.134 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001335/1.117, allocations: 0.5485 MB / 1.134 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001084/1.118, allocations: 0.5078 MB / 1.135 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002258/1.12, allocations: 0.7398 MB / 1.135 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.009e-06/1.12, allocations: 1.156 kB / 1.135 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003045/1.123, allocations: 1.042 MB / 1.136 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.123, allocations: 12.81 kB / 1.136 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.123, allocations: 2.375 kB / 1.136 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/1.124, allocations: 292.4 kB / 1.137 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/1.125, allocations: 133.5 kB / 1.137 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/1.126, allocations: 0.8948 MB / 1.138 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.128, allocations: 115.4 kB / 1.138 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/1.128, allocations: 29.84 kB / 1.138 GB, free: 2.883 MB / 0.8419 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.0002698/1.128, allocations: 215.1 kB / 1.138 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/1.128, allocations: 106 kB / 1.138 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/1.132, allocations: 1.147 MB / 1.139 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.132, allocations: 9.297 kB / 1.139 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.132, allocations: 0 / 1.139 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/1.132, allocations: 274.9 kB / 1.139 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/1.133, allocations: 18.62 kB / 1.139 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/1.133, allocations: 74.78 kB / 1.14 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.134, allocations: 38.06 kB / 1.14 GB, free: 1.941 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.003426/1.137, allocations: 0.8758 MB / 1.14 GB, free: 1.668 MB / 0.8419 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