Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,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|chi.etaPL",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,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|chi.etaPL",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 116.6 kB / 16.81 MB, free: 5.77 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.0018/0.0018, 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.459/1.459, allocations: 225.6 MB / 244.2 MB, free: 13.89 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.821/2.821, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 68.23 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3824, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.07094/0.4533, allocations: 61.68 MB / 1.322 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.4741, allocations: 12.03 MB / 1.334 GB, free: 2.992 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003798/0.4779, allocations: 63.62 kB / 1.334 GB, free: 2.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.4808, allocations: 0.7025 MB / 1.335 GB, free: 2.223 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007588/0.4884, allocations: 2.073 MB / 1.337 GB, free: 144 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.4926, allocations: 1.211 MB / 1.338 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005805/0.4984, allocations: 3.095 MB / 1.341 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.5003, allocations: 0.9006 MB / 1.342 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.5043, allocations: 1.364 MB / 1.343 GB, free: 9.535 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.5062, allocations: 0.9474 MB / 1.344 GB, free: 8.586 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.5064, allocations: 112 kB / 1.344 GB, free: 8.477 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/0.51, allocations: 1.501 MB / 1.346 GB, free: 6.973 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.5104, allocations: 306.7 kB / 1.346 GB, free: 6.672 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.5115, allocations: 0.6997 MB / 1.347 GB, free: 5.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.5159, allocations: 2.324 MB / 1.349 GB, free: 3.637 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5159, allocations: 0 / 1.349 GB, free: 3.637 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5159, allocations: 3.938 kB / 1.349 GB, free: 3.633 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.516, allocations: 4 kB / 1.349 GB, free: 3.629 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00349/0.5194, allocations: 1.779 MB / 1.351 GB, free: 1.789 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5195, allocations: 12.03 kB / 1.351 GB, free: 1.777 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.5213, allocations: 347.8 kB / 1.351 GB, free: 1.438 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.5237, allocations: 1.168 MB / 1.352 GB, free: 216 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.5238, allocations: 66 kB / 1.352 GB, free: 152 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.5239, allocations: 76 kB / 1.352 GB, free: 76 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.5259, allocations: 0.9781 MB / 1.353 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.5259, allocations: 0 / 1.353 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.526, allocations: 32 kB / 1.353 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.526, allocations: 20 kB / 1.353 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.5281, allocations: 0.7962 MB / 1.354 GB, free: 14.18 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.007086/0.5352, allocations: 5.165 MB / 1.359 GB, free: 8.645 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.5368, allocations: 0.5314 MB / 1.36 GB, free: 8.102 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/0.5374, allocations: 256.2 kB / 1.36 GB, free: 7.852 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/0.5389, allocations: 1.369 MB / 1.361 GB, free: 6.188 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.539, allocations: 46.5 kB / 1.361 GB, free: 6.133 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.756e-06/0.539, allocations: 3.938 kB / 1.361 GB, free: 6.129 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.00602/0.545, allocations: 1.486 MB / 1.363 GB, free: 4.613 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.5451, allocations: 59.41 kB / 1.363 GB, free: 4.543 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.5468, allocations: 1.076 MB / 1.364 GB, free: 3.453 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.5469, allocations: 37.7 kB / 1.364 GB, free: 3.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.5474, allocations: 0.5359 MB / 1.364 GB, free: 2.871 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.5476, allocations: 166.6 kB / 1.365 GB, free: 2.707 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.5478, allocations: 130.3 kB / 1.365 GB, free: 2.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.548, allocations: 334 kB / 1.365 GB, free: 2.238 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007846/0.5488, allocations: 275.3 kB / 1.365 GB, free: 1.969 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.5498, allocations: 0.4927 MB / 1.366 GB, free: 1.383 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.5513, allocations: 0.6551 MB / 1.366 GB, free: 0.6641 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5513, allocations: 3.938 kB / 1.366 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002616/0.5539, allocations: 0.9544 MB / 1.367 GB, free: 15.69 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5539, allocations: 8 kB / 1.367 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.554, allocations: 4 kB / 1.367 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.5553, allocations: 316.6 kB / 1.368 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.5558, allocations: 115.9 kB / 1.368 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.5573, allocations: 0.8981 MB / 1.369 GB, free: 14.33 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.5586, allocations: 147.4 kB / 1.369 GB, free: 14.19 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/0.5586, allocations: 31.98 kB / 1.369 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0012/0.5598, allocations: 493.2 kB / 1.369 GB, free: 13.67 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000972/0.5608, allocations: 492 kB / 1.37 GB, free: 13.1 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001461/0.5623, allocations: 0.6499 MB / 1.37 GB, free: 12.39 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.836e-06/0.5623, allocations: 4 kB / 1.37 GB, free: 12.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002637/0.5649, allocations: 0.9466 MB / 1.371 GB, free: 11.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.5649, allocations: 8 kB / 1.371 GB, free: 11.42 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5649, allocations: 4 kB / 1.371 GB, free: 11.41 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.5661, allocations: 300.7 kB / 1.372 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.5666, allocations: 119.8 kB / 1.372 GB, free: 11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.5681, allocations: 0.9017 MB / 1.373 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.5693, allocations: 127.7 kB / 1.373 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.5694, allocations: 31.98 kB / 1.373 GB, free: 9.918 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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.0002829/0.5697, allocations: 220 kB / 1.373 GB, free: 9.695 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.5699, allocations: 115.3 kB / 1.373 GB, free: 9.582 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.5722, allocations: 0.8855 MB / 1.374 GB, free: 8.684 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.5723, allocations: 11.86 kB / 1.374 GB, free: 8.672 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.5723, allocations: 0 / 1.374 GB, free: 8.672 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.5727, allocations: 268.1 kB / 1.374 GB, free: 8.391 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.5728, allocations: 8 kB / 1.374 GB, free: 8.383 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000699/0.5735, allocations: 59.92 kB / 1.374 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/0.5736, allocations: 36.33 kB / 1.374 GB, free: 8.289 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.002698/0.5763, allocations: 0.7354 MB / 1.375 GB, free: 7.555 MB / 1.092 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL could not be translated