Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.00143/0.001429, allocations: 109.3 kB / 16.42 MB, free: 6.496 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.001539/0.001539, allocations: 183.9 kB / 17.34 MB, free: 5.754 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.466/1.466, allocations: 222.9 MB / 241.1 MB, free: 15.21 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.777/2.777, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9564/0.9579, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.06879/1.027, allocations: 61.24 MB / 1.227 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0194/1.046, allocations: 11.99 MB / 1.239 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002789/1.049, allocations: 59.62 kB / 1.239 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002705/1.052, allocations: 0.6948 MB / 1.24 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007567/1.059, allocations: 2.07 MB / 1.242 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003852/1.063, allocations: 1.212 MB / 1.243 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005303/1.069, allocations: 3.087 MB / 1.246 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/1.071, allocations: 1.092 MB / 1.247 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003996/1.075, allocations: 1.363 MB / 1.248 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/1.077, allocations: 0.9062 MB / 1.249 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004713/1.078, allocations: 112 kB / 1.249 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004113/1.082, allocations: 1.47 MB / 1.251 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005909/1.082, allocations: 298.8 kB / 1.251 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/1.084, allocations: 0.6959 MB / 1.252 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005894/1.09, allocations: 2.332 MB / 1.254 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/1.09, allocations: 0 / 1.254 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/1.09, allocations: 0 / 1.254 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.111e-05/1.09, allocations: 0 / 1.254 GB, free: 10.94 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004887/1.095, allocations: 1.79 MB / 1.256 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.095, allocations: 20.8 kB / 1.256 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/1.097, allocations: 347.8 kB / 1.256 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/1.1, allocations: 1.168 MB / 1.257 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.9e-05/1.1, allocations: 62 kB / 1.257 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.1, allocations: 84 kB / 1.257 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/1.103, allocations: 0.9781 MB / 1.258 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/1.103, allocations: 0 / 1.258 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/1.103, allocations: 32 kB / 1.258 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/1.103, allocations: 20 kB / 1.258 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/1.105, allocations: 0.7923 MB / 1.259 GB, free: 5.48 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.007615/1.113, allocations: 5.154 MB / 1.264 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/1.114, allocations: 0.5681 MB / 1.265 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/1.115, allocations: 271.3 kB / 1.265 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/1.117, allocations: 1.373 MB / 1.266 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/1.117, allocations: 34.56 kB / 1.266 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 3.407e-06/1.117, allocations: 0 / 1.266 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.005918/1.123, allocations: 1.497 MB / 1.268 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/1.123, allocations: 59.41 kB / 1.268 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/1.125, allocations: 1.076 MB / 1.269 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/1.125, allocations: 37.64 kB / 1.269 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/1.125, allocations: 0.5359 MB / 1.269 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/1.125, allocations: 170.6 kB / 1.27 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/1.126, allocations: 130.3 kB / 1.27 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.126, allocations: 330 kB / 1.27 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007994/1.127, allocations: 279.3 kB / 1.27 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009671/1.128, allocations: 496 kB / 1.271 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/1.129, allocations: 0.659 MB / 1.271 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.129, allocations: 0 / 1.271 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002628/1.132, allocations: 0.966 MB / 1.272 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/1.132, allocations: 8 kB / 1.272 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.132, allocations: 4 kB / 1.272 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/1.133, allocations: 316.7 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/1.134, allocations: 115.8 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/1.135, allocations: 0.9065 MB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/1.137, allocations: 143.4 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.743e-05/1.137, allocations: 31.98 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001154/1.138, allocations: 493.2 kB / 1.274 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009957/1.139, allocations: 0.4922 MB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001488/1.14, allocations: 0.6496 MB / 1.275 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.201e-06/1.14, allocations: 3.938 kB / 1.275 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002869/1.143, allocations: 0.9509 MB / 1.276 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.143, allocations: 8 kB / 1.276 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/1.143, allocations: 4 kB / 1.276 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/1.144, allocations: 304.6 kB / 1.277 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/1.145, allocations: 119.8 kB / 1.277 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/1.146, allocations: 0.8996 MB / 1.278 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.148, allocations: 123.7 kB / 1.278 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/1.148, allocations: 28 kB / 1.278 GB, free: 1.164 MB / 0.9981 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.0002505/1.148, allocations: 220 kB / 1.278 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/1.148, allocations: 123.2 kB / 1.278 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/1.151, allocations: 0.8818 MB / 1.279 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.151, allocations: 7.922 kB / 1.279 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.151, allocations: 0 / 1.279 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005948/1.151, allocations: 264.1 kB / 1.279 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/1.152, allocations: 12 kB / 1.279 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007766/1.152, allocations: 63.86 kB / 1.279 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/1.153, allocations: 28.39 kB / 1.279 GB, free: 15.53 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.002633/1.155, allocations: 0.7419 MB / 1.28 GB, free: 14.79 MB / 1.014 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