Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 112.5 kB / 16.81 MB, free: 5.766 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.001421/0.001421, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.49/1.49, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.856/2.856, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.44 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.409, allocations: 168.7 MB / 1.262 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.07092/0.4799, allocations: 61.72 MB / 1.322 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01962/0.4996, allocations: 12.04 MB / 1.334 GB, free: 2.871 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.5023, allocations: 63.62 kB / 1.334 GB, free: 2.809 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.5048, allocations: 0.7025 MB / 1.335 GB, free: 2.102 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007025/0.5119, allocations: 2.082 MB / 1.337 GB, free: 12 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.516, allocations: 1.216 MB / 1.338 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006456/0.5225, allocations: 3.114 MB / 1.341 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/0.525, allocations: 0.9012 MB / 1.342 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/0.5295, allocations: 1.379 MB / 1.343 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.5317, allocations: 0.945 MB / 1.344 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005132/0.5322, allocations: 120 kB / 1.344 GB, free: 8.301 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.5361, allocations: 1.47 MB / 1.346 GB, free: 6.828 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006581/0.5368, allocations: 302.7 kB / 1.346 GB, free: 6.531 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.5385, allocations: 0.7075 MB / 1.347 GB, free: 5.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00571/0.5442, allocations: 2.316 MB / 1.349 GB, free: 3.496 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5442, allocations: 0 / 1.349 GB, free: 3.496 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5442, allocations: 0 / 1.349 GB, free: 3.496 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.5442, allocations: 0 / 1.349 GB, free: 3.496 MB / 1.061 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.00388/0.5481, allocations: 1.791 MB / 1.351 GB, free: 1.641 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.5481, allocations: 15.97 kB / 1.351 GB, free: 1.625 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.5504, allocations: 419.6 kB / 1.351 GB, free: 1.215 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.5529, allocations: 1.176 MB / 1.352 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/0.553, allocations: 65.94 kB / 1.352 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.5531, allocations: 80 kB / 1.353 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.5554, allocations: 1.017 MB / 1.354 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.5554, allocations: 3.938 kB / 1.354 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.5555, allocations: 32 kB / 1.354 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.5555, allocations: 20 kB / 1.354 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.5579, allocations: 0.8743 MB / 1.354 GB, free: 13.83 MB / 1.076 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.007204/0.5651, allocations: 5.252 MB / 1.36 GB, free: 8.211 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/0.5686, allocations: 0.7677 MB / 1.36 GB, free: 7.434 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007964/0.5694, allocations: 292.6 kB / 1.361 GB, free: 7.145 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007864/0.5702, allocations: 0.9064 MB / 1.361 GB, free: 6.035 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.5702, allocations: 42.5 kB / 1.361 GB, free: 5.984 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.685e-06/0.5702, allocations: 0 / 1.361 GB, free: 5.984 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.006365/0.5766, allocations: 1.607 MB / 1.363 GB, free: 4.348 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.5766, allocations: 59.34 kB / 1.363 GB, free: 4.277 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.5784, allocations: 1.084 MB / 1.364 GB, free: 3.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.187e-05/0.5785, allocations: 37.7 kB / 1.364 GB, free: 3.137 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/0.579, allocations: 0.5437 MB / 1.365 GB, free: 2.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.5792, allocations: 162.6 kB / 1.365 GB, free: 2.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.5794, allocations: 138.2 kB / 1.365 GB, free: 2.285 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5796, allocations: 326 kB / 1.365 GB, free: 1.961 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009643/0.5806, allocations: 323.2 kB / 1.366 GB, free: 1.645 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.5817, allocations: 0.5394 MB / 1.366 GB, free: 1.008 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.5836, allocations: 0.7502 MB / 1.367 GB, free: 192 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5836, allocations: 0 / 1.367 GB, free: 192 kB / 1.076 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002961/0.5865, allocations: 1.04 MB / 1.368 GB, free: 15.14 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.5866, allocations: 8 kB / 1.368 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5866, allocations: 8.031 kB / 1.368 GB, free: 15.12 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.5879, allocations: 308.6 kB / 1.368 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.5884, allocations: 135.8 kB / 1.368 GB, free: 14.68 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.59, allocations: 0.9035 MB / 1.369 GB, free: 13.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.5913, allocations: 159.4 kB / 1.369 GB, free: 13.6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.5914, allocations: 31.98 kB / 1.369 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001371/0.5928, allocations: 0.5168 MB / 1.37 GB, free: 13.05 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001318/0.5941, allocations: 0.5446 MB / 1.37 GB, free: 12.41 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002147/0.5962, allocations: 0.7338 MB / 1.371 GB, free: 11.6 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.5962, allocations: 0 / 1.371 GB, free: 11.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003554/0.5998, allocations: 1.036 MB / 1.372 GB, free: 10.55 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5998, allocations: 11.94 kB / 1.372 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5998, allocations: 8.031 kB / 1.372 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.6011, allocations: 291.4 kB / 1.372 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.6018, allocations: 139.8 kB / 1.373 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.6036, allocations: 0.8919 MB / 1.373 GB, free: 9.195 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.6054, allocations: 143.6 kB / 1.374 GB, free: 9.055 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.6056, allocations: 35.92 kB / 1.374 GB, free: 9.02 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0004073/0.606, allocations: 224.1 kB / 1.374 GB, free: 8.793 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.6062, allocations: 123.2 kB / 1.374 GB, free: 8.672 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.6101, allocations: 1.084 MB / 1.375 GB, free: 7.57 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6101, allocations: 3.984 kB / 1.375 GB, free: 7.566 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6101, allocations: 0 / 1.375 GB, free: 7.566 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/0.6107, allocations: 272.1 kB / 1.375 GB, free: 7.281 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.6109, allocations: 8 kB / 1.375 GB, free: 7.273 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007816/0.6116, allocations: 71.91 kB / 1.375 GB, free: 7.203 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.6117, allocations: 40.33 kB / 1.375 GB, free: 7.16 MB / 1.092 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.002867/0.6146, allocations: 0.7783 MB / 1.376 GB, free: 6.383 MB / 1.092 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature could not be translated